How to Install NtopNG on Linux Mint 20

To Install NtopNG on Linux Mint 20

Introduction:

NtopNG is the future version of the ntop. It is a network traffic probe that monitors network usage based on libpcap and has been written in a compact way in order to virtually run on every Unix platform, MacOSX and on Windows and is used for High-Speed Web-based Traffic Analysis and Flow Collection.This tutorial will cover the installation of ntopNG on Linux Mint 20.

Installation Procedure:

First check the version of Linux Mint OS

root@LinuxHelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20
Release:	20
Codename:	ulyana

Now update the Packages by using the following command

root@LinuxHelp:~# apt update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease              
.
.
.
Fetched 5,262 kB in 7s (761 kB/s)                                                                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
403 packages can be upgraded. Run 'apt list --upgradable' to see them.

Once the update is completed then install the ntopng by using following command

root@LinuxHelp:~# apt install ntopng -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
.
.
.
Setting up ntopng (3.8+dfsg1-2.1build3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ntopng.service → /lib/systemd/system/ntopng.service.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for systemd (245.4-4ubuntu3) ...

The installation is completed then add the connection name to the default configuration file on NtopNG by using following command

root@LinuxHelp:~# vim /etc/ntopng.conf 

Once the configuration is completed then restart the ntopng service by using following command

root@LinuxHelp:~# systemctl restart ntopng

Now add the NtopNG port Firewall by using following command

root@LinuxHelp:~# ufw allow 3000
Rules updated
Rules updated (v6)

Switch your browser and enter your IP address along with the port This is the welcome page of NtopNG and enter your credentials here Change the password here

This is the dashboard of NtopNG and here you can see the upload and download speed Here you can see the upload and download size of hosts Here you can see the upload and download size of ports With this method, the installation of NtopNG on Linux Mint 20 is comes to an end.

FAQ
Q
What Ntopng can do?
A
Ntopng can do the following
Sort network traffic according to many criteria including IP address, port, L7 protocol, throughput, AS
Show network traffic and IPv4/v6 active hosts
Produce long-term reports about various network metrics such as throughput, application protocols, top X talkers/listeners, top ASs, top L7 applications
For each communication flow report network/application latency/RTT, TCP stats (retransmissions, packets OOO, packet lost), and bytes/packets are stored
on-disk persistent traffic statistics in RRD format
Q
What is the default port of NtopNG?
A
The default port number of NtopNG is 3000
Q
What is the default configuration file location of NtopNG?
A
The default file location of NtopNG is
#/etc/ntopng.conf
Q
How do you install NtopNG?
A
To install the NtopNG by executing the following command

# apt-get install ntopng
Q
What is Ntopng?
A
NtopNG is the next-generation version of the original ntop, a network traffic probe that monitors network usage. ntopng is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Windows as well. Ntopng used to High-Speed Web-based Traffic Analysis and Flow Collection.