Monitoring Traffic Jaringan Menggunakan Ntopng di Linux Ubuntu/Debian
Ntopng digunakan di Linux untuk monitoring traffic jaringan/network. Untuk detail mengenai fungsinya dll silahkan kunjungi website project ntopng disini.
Nah berikut cara install-nya:
- Linux Ubuntu 18.04 LTS
wget http://apt.ntop.org/18.04/all/apt-ntop.deb
dpkg -i apt-ntop.deb
- Linux Ubuntu 16.04 LTS
wget http://apt.ntop.org/16.04/all/apt-ntop.deb
dpkg -i apt-ntop.deb
- Linux Ubuntu 14.04 LTS
wget http://apt.ntop.org/14.04/all/apt-ntop.deb
dpkg -i apt-ntop.deb
add-apt-repository ppa:maxmind/ppa
- Linux Debian 9 (stretch)
wget http://apt.ntop.org/stretch/all/apt-ntop.deb
dpkg -i apt-ntop.deb
- Linux Debian 8 (jessie)
wget http://apt.ntop.org/jessie/all/apt-ntop.deb
dpkg -i apt-ntop.deb
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /apt/apt/sources.list
- Linux Raspbian (stretch_pi)
echo "deb http://apt.ntop.org/stretch_pi armhf/" > /etc/apt/sources.list.d/ntop.list
echo "deb http://apt.ntop.org/stretch_pi all/" >> /etc/apt/sources.list.d/ntop.list
sudo apt-get update -y
sudo apt-get install pfring-dkms nprobe ntopng n2disk cento -y
Edit file ntopng.conf:
sudo nano /etc/ntopng/ntopng.conf
dan tambahkan baris berikut ini:
-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
Simpan dan tutup. Dan lanjut buat file berikut:
sudo nano /etc/ntopng/ntopng.start
Tambahkan baris berikut:
--local-networks "192.168.0.0/24" ## Masukan iprange network mu disini.
--interface 1
sudo systemctl start ntopng
sudo systemctl enable ntopng