So, in our example, we have set the ntopng service to monitor the traffic on interface eth0. Make the following edits to reflect your settings - the most important parameter is the network interface and -w parameter for the port (-G parameter is already set by default): -G=/var/run/ntopng.pid Now we need to adjust the config file to our needs. Now, we need to edit the ntopng configuration located at /etc/ntopng/nf and enter Network Interface, Port, and Location of the PID. In our case, we use eth0 network interface for our local network, but you need to check for your own (in most cases it is eth0 for LAN). Valid_lft 86365sec preferred_lft 86365sec Configure NtopngĪfter ntopng installation you need to check which network interface you are using with the IP command: $ ip aġ: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 Now we should configure the application and web interface.
Now install the ntopng and other required packages: $ sudo apt-get install pfring-dkms nprobe ntopng n2disk cento -y If you have done everything correctly, you should see the added repository in the terminal output: Get:6 圆4/ InRelease
b Install ntopng on the local serverįirst, update the apt since we added a new repository to our Ubuntu linux system: $ sudo apt-get update -y Once the package is downloaded, install it using the following command: $ sudo apt install. Now download the package and add the ntopng repository: $ sudo add-apt-repository universe Next, install the required packages: $ sudo apt-get install software-properties-common wget gnupg -y
In this tutorial, we will learn how to install ntopng tool on Ubuntu 20.04 and use it to monitor the local network. There are professional and enterprise editions of Ntopng which have licensing requirements, and the free community edition. It supports different operating systems like Linux, Mac OS, BSD, and Windows. It is the next-generation version of the original ntop which shows the network usage, statistics, and analytic. Ntopng is free, open-source software that provides a web interface for real-time network traffic monitoring.