4

NTOP is a network monitor.
It has a web interface for viewing statistics.

I installed it via sudo apt-get install ntop on Ubuntu 2012.04, the daemon got started at the end of the install, without me doing anything special.

QUESTION: How to access the web interface?

http://localhost:4242 says Unable to connect.

I tried stopping the daemon and launching it in various ways:

sudo ntop -P /etc/ntop -W4242 -d
sudo ntop -P /var/lib/ntop/ -W4242 -d

But still Unable to connect.

Nicolas Raoul
  • 11,473
  • 27
  • 93
  • 149
  • It should be `http://hostname:3000/` or `http://127.0.0.1:3000/` – atenz Jul 19 '12 at 10:35
  • That's it! I had read 4242 on some web page so I wasn't looking further... Could you please post this as an answer so that I can accept it? – Nicolas Raoul Jul 19 '12 at 10:56
  • Also allow port 3001 for password authentication. – jmunsch Jul 10 '14 at 13:42
  • and if you have a firewall, remember to allow tcp port 3000 sudo iptables -I INPUT -p tcp -m tcp --dport 3000 -j ACCEPT add above your drop rule -A INPUT -p tcp -m tcp --dport 3000 -j ACCEPT that should do it. – Niamul Mar 22 '17 at 04:20

2 Answers2

7

You can view and configure it through http://hostname:3000/ or http://127.0.0.1:3000/

ntop focuses on :

  • Traffic measurement
  • Traffic monitoring
  • Network optimization and planning
  • Detection of network security violations

You can also go through the documentation and Man Pages for optimum usage.

Kevin Bowen
  • 19,395
  • 55
  • 76
  • 81
atenz
  • 12,674
  • 5
  • 44
  • 66
5

There are two ways to access the web-gui for NTOP.

-w --> This uses an unencrypted connection (the default). Port 3000 unless overridden.
-W --> Uses SSL encryption.

Examples:

  1. Default Setup

    sudo ntop -d

    This would default to an unencrypted ntop service running on port 3000. To connect you would type http://[IP_ADDRESS_OF_SYSTEM]:3000 into the address bar of a web browser.

  2. Encrypted Setup

    sudo ntop -W 8080 -d

This results in an encrypted ntop service running on port 8080. To connect you would need to type https://[IP_ADDRESS_OF_SYSTEM]:8080 into the address bar of a web browser.

Kevin Bowen
  • 19,395
  • 55
  • 76
  • 81
Jeremy
  • 51
  • 1
  • 1
  • When I set up ntop it asked for my network interfaces and administrator password - shouldn't it just launch itself? – virtualxtc Aug 02 '17 at 06:23