Install nTOP for Untangle 8.0
The following instructions work on Untangle 8.0 (x86 and 64 bit) and will provide a working nTOP traffic monitoring environment with the current nTOP 3:3.3-11+b2 package included with Debian 5.0.6 release (Untangle 8.0 Final).
WARNING: If you have no experience with *nix command line environments please do not attempt this guide. Cutting and pasting commands from a 'how to' without a full understanding of the syntax and implications is bound to cause you problems.
Install Process:
1. Backup the original sources.list in case of problems during the install -
Code:
cp /etc/apt/sources.list /etc/apt/sources.list.orig
2. Add the Debian 5.x Repositories to your server:
Code:
echo "deb http://http.us.debian.org/debian/ lenny main contrib non-free" >>/etc/apt/sources.list
echo "deb-src http://http.us.debian.org/debian/ lenny main" >>/etc/apt/sources.list
3. Update packages and install the current nTOP build:
Code:
apt-get update
apt-get install ntop
4. Set nTOP's default administrative password:
5. Configure the nTOP monitoring interface:
NOTE: If your inside interface is not eth1, change accordingly.
Code:
cd /var/lib/ntop
sed 's/INTERFACES="eth0"/INTERFACES="eth1"/g' init.cfg> init.cfg.tmp
cp init.cfg.tmp init.cfg
rm init.cfg.tmp
6. Configure nTOP to use TCP port 4000 for remote connections.
Code:
echo 'GETOPT="-w 4000"' >>/etc/default/ntop
7. Restore the original APT sources list:
Code:
cp /etc/apt/sources.list.orig /etc/apt/sources.list
rm /etc/apt/sources.list.orig
8. Start nTOP
Code:
/etc/init.d/ntop start
9. Configure a packet filter for nTOP.
Note: I'm not going to provide a description on how to do this. Please refer to my original post here.
10. Secure nTOP access from outside the UTM.
a. Browse your UTM at http://ip-address:4000
b. Click "Admin" then "Configure" then "Protect URL's"
c. Enter username "admin" and your password (set in step 5 above) when prompted.
e. Click "Add URL" then "Add URL" again.
NOTE: This will require a username and password to access http://your-ip-ddress:4000
11. If you require internal DNS resolution (in the case of a UTM router environment) be sure to set Untangle to handle DNS resolution using your internal DNS servers rather than your external.
If you experience problems please post.