How to install NTopng on Debian 10?


Analyzing data for information can be a cumbersome task on a computer network. However, it can be easier if we have the necessary tools for it. As is ntopng that allows you to analyze the traffic of a network quickly and immediately, but also other things. In this post, we will show you how to install Ntopng on Debian 10.

In a simple and straightforward way, Ntopng is an application with a web interface that allows monitoring the traffic of a network. It has an open-source community version, released under the GPLv3 license and free for use. And it is considered a reference in this sector.

On the other hand, the application can be installed on Windows, Linux, and RaspberryPi. Within the Linux distributions, we find binaries for the most popular like Debian, Ubuntu, and CentOS. So availability is guaranteed.

So, some of its features include:

  • Traffic Analysis
  • Network Probe
  • Traffic Recording
  • Packet Capture

However, there are so many that I recommend you go to the project website to check them all.

So, let us install it.

Install Ntopng on Debian 10

The application has a repository dedicated to Debian 10 to facilitate the installation. This is the most efficient and secure method of installing Ntopng. Also, being added to the repository when there is an update we can get it from APT.

Then, let’s download a DEB package that adds and configures the Ntopng repository.

:~$ cd /tmp
:~$ wget
1.- Add the ntopng repository on debian 10
1.- Add the ntopng repository on debian 10

Then, install GPG so that the repository can be added correctly.

:~$ sudo apt install gpg

Now install the downloaded package to add the repository.

:~$ sudo dpkg -i apt-ntop.deb
2.- The ntopng repository on debian 10
2.- The ntopng repository on debian 10

So, with the repository already added, we need to refresh the source of APT packages.

:~$ sudo apt update

Finally, install ntopng and some of its modules with the following command:

:~$ sudo apt install pfring-dkms nprobe ntopng n2disk cento
3.- Install ntopng on Debian 10
3.- Install ntopng on Debian 10

Before using the web interface, it is necessary to make some previous configurations. For example, indicate the port where it will run. To do this, just edit the configuration file of the application:

:~$ sudo nano /etc/ntopng/ntopng.conf
4.- Setting the application port
4.- Setting the application port

As you can see in the image the value of -w defines the port that will use the web interface. You can place the one you want, but remember to open it in the firewall.

Also, we need to create a new file to define the range of IP addresses of our network. Also the default or active network interface.

:~$ sudo nano /etc/ntopng/ntopng.start
5.- Configuring ntopng before use it
5.- Configuring ntopng before use it

Then, restart the service to apply the changes:

:~$ sudo systemctl restart ntopng

Now, open your web browser and go to http://your-server:[port] you will see the login page.

6.- ntopng log in page
6.- ntopng log in page

On the same page, you will see the default credentials. Username: admin and password: admin. Enter them. Then you can change it.

7.- Changing the default password
7.- Changing the default password

Finally, you will see the dashboard.

8.- Ntopng dashboard
8.- Ntopng dashboard

So, enjoy it.


Ntopng is a leader in high-level network monitoring. Thanks to its community version, it is possible to have it on our servers to help us with the task of monitoring the behavior of a network. Thanks to its repository in Debian we have been able to install it without major complications.


Please enter your comment!
Please enter your name here