Share your love
Ntopng Network Traffic Monitoring on Ubuntu 24.04

Monitoring network traffic helps you understand what’s happening on your system or network. You can easily perform Ntopng Network Traffic Monitoring on Ubuntu 24.04.
Ntopng provides a web-based interface that shows real-time data about traffic, IP addresses, protocols, and more. It helps you analyze how your network is being used and can be very useful for troubleshooting or improving performance. In this guide on the Orcacore website, you’ll learn how to install Ntopng on Ubuntu 24.04 and start monitoring your network in just a few steps.
Table of Contents
Steps For Ntopng Network Traffic Monitoring on Ubuntu 24.04
Before you get started with Network Traffic Monitoring by using Ntopng, you need to log in to your server as a non-root user with sudo privileges. To learn how you can create a sudo user, you can check Creating a sudo user on Ubuntu 24.04.
Also, you need to set up a UFW firewall on your server. To do this, you can visit UFW Firewall Config on Ubuntu 24.04.
Now proceed to the guide steps below to start your Ntopng installation on Ubuntu 24.04.
Step 1. Download and Install Ntopng on Ubuntu 24.04
First, you must run the system update by using the command below:
sudo apt update
Then, use the command below to install required packages and dependencies:
# sudo apt install software-properties-common wget -y
# sudo add-apt-repository universe
Once you are done, navigate to the tmp directory, download and install the Ntopng repository by using the following commands:
# cd /tmp
# sudo wget https://packages.ntop.org/apt/24.04/all/apt-ntop.deb
# sudo apt install ./apt-ntop.deb
Now you can use the following commands to install Ntopng packages on Ubuntu 24.04:
# sudo apt clean all
# sudo apt update
# sudo apt install pfring-dkms nprobe ntopng n2disk cento ntap -y
Step 2. Configure Ntopng on Ubuntu 24.04
At this step, you must edit your Ntopng config file and make some configuration changes to it. Open the file with your desired text editor, like Vi Editor or Nano Editor:
sudo vi /etc/ntopng/ntopng.conf
In the file, look for the -w directive and uncomment it by removing the “#”. It specifies the port used in the web interface. You can customize it, but remember to open it in the firewall.

Once you are done, save and close the file.
Then, open the Ntopng port through your firewall with the command below:
sudo ufw allow 3000/tcp
Reload the firewall to apply the changes:
sudo ufw reload
Also, restart the Ntopng service to apply the changes:
sudo systemctl restart ntopng
Step 3. Start and Enable Ntopng Monitoring Tool
Your Ntopng service must be enabled and started by default. But you can use the following commands to start and enable it:
# sudo systemctl start ntopng
# sudo systemctl enable ntopng
Check the Ntopng service status with the command below:
sudo systemctl status ntopng
In your output, you should see:

Step 4. Access Ntopng Monitoring Dashboard
At this point, you can access your Ntopng web interface by typing your server’s IP address in your web browser, followed by 3000 or the specified port you have defined:
http://server-IP:3000
You will see the Ntopng Login screen. You need to enter “admin” as the username and password and click login.
username: admin
password: admin

Then, change the admin password and choose your desired language.

Once you are done, you will see your Ntopng monitoring dashboard. From there, you can start monitoring traffic by passively capturing network traffic, collecting network flows (NetFlow, sFlow, and IPFIX), monitoring selected network devices, monitoring a network infrastructure via SNMP, and many more.
Also, if you like to work with Ntopng and access more features, you can upgrade to a pro version.

Conclusion
Installing Ntopng on Ubuntu 24.04 is a great way to monitor your network traffic in real time. It has an easy-to-use web interface and helps you keep your network secure and running smoothly. Hope you enjoy it.
Please subscribe to us on Facebook, X, and YouTube.
You may also like to read the following articles:
Install and Configure Cacti on Ubuntu 24.04
Install Nagios on Ubuntu 24.04