Skip to content

Instantly share code, notes, and snippets.

@linuxfemale
Last active November 19, 2019 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxfemale/2f265019313168ba79fbed226f7b2d2d to your computer and use it in GitHub Desktop.
Save linuxfemale/2f265019313168ba79fbed226f7b2d2d to your computer and use it in GitHub Desktop.
Ntopng on Ubuntu 18.04 LTS
#Video Tutorial:
https://youtu.be/UNsDkcYTHxI
In order to use this repository do (as root):
sudo apt-get install software-properties-common wget
sudo add-apt-repository universe [ unless you have done it previously ]
wget http://apt-stable.ntop.org/18.04/all/apt-ntop-stable.deb
sudo apt install ./apt-ntop-stable.deb
or
sudo dpkg -i apt-ntop-stable.deb
sudo apt-get clean all
sudo apt-get update
sudo apt-get install pfring nprobe ntopng ntopng-data n2disk cento nbox
sudo apt-get update
sudo apt-get upgrade
## Configure Ntopng
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.
-i=enp0s3
##Sets the HTTP port of the embedded web server.
-w=3000
sudo nano /etc/ntopng/ntopng.start
Add the following lines as per your network:
--local-networks "192.168.0.0/24" ## give your local IP Ranges here.
--interface 1
sudo systemctl start ntopng
sudo systemctl enable ntopng
http://your-server-ip:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment