Monitor Network Traffic with Ntopng on Ubuntu 18.04 LTS

page1 118

Monitor Network Traffic with Ntopng on Ubuntu 18.04 LTS

Ntopng is a free and open source software for monitoring network traffic that provides a web interface for real-time network monitoring. It is the next generation version of the original ntop that shows the network usage, similar to what the popular top Unix command does. It supports different operating system like, Unix, Linux, Mac OS, BSD and Windows.

In this tutorial, we will learn how to install Ntopng on Ubuntu 18.04 LTS (Bionic Beaver) server.


  • A server running Ubuntu 18.04.
  • A not-root user with sudo privileges.

Install Ntopng

By default, Ntopng is not available in Ubuntu 18.04 default repository. So you will need to install the repository for Ntopng. You can download and install Ntopng repository with the following command:wget http://apt.ntop.org/18.04/all/apt-ntop.deb
sudo dpkg -i apt-ntop.deb

Once the repository is installed, update the repository and install Ntopng with the following command:sudo apt-get update -y
sudo apt-get install pfring-dkms nprobe ntopng n2disk cento -y

Configure Ntopng

After installing Ntopng, you will need to modify Ntopng default configuration file located at /etc/ntopng/ntopng.conf:sudo nano /etc/ntopng/ntopng.conf

Make the following changes:-G=/var/run/ntopng.pid

##Specifies the network interface or collector endpoint to be used by ntopng for network monitoring.

##Sets the HTTP port of the embedded web server.

Save and close the file, then create a ntopng.start file:sudo nano /etc/ntopng/ntopng.start

Add the following lines as per your network:--local-networks "" ## give your local IP Ranges here.
--interface 1

Save and close the file, then restart Ntopng and enable it to start on boot time:sudo systemctl start ntopng
sudo systemctl enable ntopng

Access Ntopng

Ntopng is now installed and listenning on port 3000. Now, open your web browser and type the URL http://your-server-ip:3000. You will be redirected to the following page:

About Hitesh Jethva

Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud, Postfix Mail Server, Security etc.

Share this page:


Đăng ký liền tay Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !

Add Comment

Click here to post a comment

Đăng ký liền tay
Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !