I don’t have much to say here, other than I wanted to see something real time or close to it about how the traffic is flowing on my Vyatta Router so I looked for some info and found it. I am sharing it here for others and future reference on my own part.
The first thing you must know is that to install NTOP you will need full root access. The default vyatta user account will not permit you to do this install. Please refer to a previous post of mine on how to enable root access in vyatta.
In addition to the above you will need to also give your vyatta router a public DNS server to use so it can download the necessary packages. This is done by entering the configuration and typing ~# set system name-server 22.214.171.124 as you can see I used Google’s public name server.
And now on to the installation steps:
vyatta@vyatta# set system package repository lenny components main
vyatta@vyatta# set system package repository lenny url http://http.us.debian.org/debian
vyatta@vyatta# set system package repository lenny distribution lenny
vyatta@vyatta# su –
vyatta:~# aptitude update
vyatta:~# aptitude install ntop tcpd
vyatta:~# ntop -A
Please enter the password for the admin user: **********
Please enter the password again: **********
vyatta:~# /etc/init.d/ntop start
vyatta:~# /etc/init.d/ntop stop
vyatta:~# killall ntop
vyatta:~# update-rc.d -f ntop remove
vyatta:~# update-rc.d ntop defaults 99 99
When done you should be able to connect to http://routers-ip:3000
From what I noticed the interface which will be listened on will be the external (eth0_) while you connect to the internal (eth1_).