Cara monitoring router mikrotik menggunakan traffik flow dan darkstat
Kali ini kita akan belajar monitoring menggunakan darkstat, dengan memanfaatkan traffic flow mikrotik.
Baiklah langsung saja
#apt-get update
#apt-get install darkstat
#nano /etc/darkstat/init.cfg
# Turn this to yes when you have configured the options below.
START_DARKSTAT=yes
# Don't forget to read the man page.
# You must set this option, else darkstat may not listen to
# the interface you want
INTERFACE="-i p2p1"
DIR="/var/lib/darkstat"
PORT="-p 666"
BINDIP="-b 192.168.14.254"
LOCAL="-l 192.168.14.0/255.255.255.0"
# File will be relative to $DIR:
DAYLOG="--daylog darkstat.log"
# Don't reverse resolve IPs to host names
DNS="--no-dns"
#FILTER="not (src net 192.168.0 and dst net 192.168.0)"
# Additional command line Arguments:
# OPTIONS="--syslog --no-macs"
Berhubung inteface saya default nya bukan eth0 , melainkan p2p1 , silahkan sesuaikan di ifconfig linux server anda
Baiklah langsung saja
#apt-get update
#apt-get install darkstat
#nano /etc/darkstat/init.cfg
# Turn this to yes when you have configured the options below.
START_DARKSTAT=yes
# Don't forget to read the man page.
# You must set this option, else darkstat may not listen to
# the interface you want
INTERFACE="-i p2p1"
DIR="/var/lib/darkstat"
PORT="-p 666"
BINDIP="-b 192.168.14.254"
LOCAL="-l 192.168.14.0/255.255.255.0"
# File will be relative to $DIR:
DAYLOG="--daylog darkstat.log"
# Don't reverse resolve IPs to host names
DNS="--no-dns"
#FILTER="not (src net 192.168.0 and dst net 192.168.0)"
# Additional command line Arguments:
# OPTIONS="--syslog --no-macs"
Berhubung inteface saya default nya bukan eth0 , melainkan p2p1 , silahkan sesuaikan di ifconfig linux server anda
Selanjutnya configurasi configurasi traffik flow di router mikrotik anda..
Ingat yah, ip address 192.168.14.254, merupakan ip ethernet linux nya.
dan port 666 adalah service yang di pakai oleh darkstat..
Jika berhasil penampkan nya seperti ini :D
Semoga Bermanfaat :D
0 Response to "Cara monitoring router mikrotik menggunakan traffik flow dan darkstat "
Post a Comment