Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Master Untangler
    Join Date
    Sep 2007
    Posts
    143

    Lightbulb 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:

    Code:
    ntop -A
    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.

  2. #2
    Master Untangler
    Join Date
    Feb 2009
    Posts
    171

    Default

    Any chance we could get the 4.x version?

  3. #3
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    5,042

    Default

    after step 7 i would advice you add "apt-get update".

  4. #4
    Newbie
    Join Date
    Nov 2010
    Posts
    5

    Default

    I've followed this to the T, however, I still can't access nTop from anywhere but the browser built into my Untangle box directly.

  5. #5
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    This freaking rocks!!!! Thank you, thank you, thank you!!!! I have wanted to do this for a while and this makes it quick and easy.

    @criccio I suspect you forgot the packet filter rule. You have to do this or nothing but the UT box itself will be able to access the NTOP stats.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  6. #6
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    P.S. Will NTOP autostart when the system is rebooted? Cause I don't see the command to do that though I'm not as familiar with Debian commands as I am with Redhat ones. I know on Redhat you have to do a chkconfig on type thing to set it to auto-start.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,485

    Default

    Quote Originally Posted by criccio View Post
    I've followed this to the T, however, I still can't access nTop from anywhere but the browser built into my Untangle box directly.
    That means you goofed or skipped step 9.

    Also, I'll reiterate once more nTop has been known to cause strange issues with Untangle, and it will likely break on upgrade.

    Then again, you are in the hacks forum, so that should be understood.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  8. #8
    Untangle Ninja dwasserman's Avatar
    Join Date
    Jun 2008
    Location
    Argentina
    Posts
    4,371

    Default

    Quote Originally Posted by sky-knight View Post
    That means you goofed or skipped step 9.

    Also, I'll reiterate once more nTop has been known to cause strange issues with Untangle, and it will likely break on upgrade.

    Then again, you are in the hacks forum, so that should be understood.
    I can be seen that:
    In a box where it is installed, started to grow disproportionately disk usage, conclusion: making from scratch , no more hack for me in production box
    The world is divided into 10 kinds of people, who know binary and those not

  9. #9
    Untangler
    Join Date
    May 2009
    Posts
    53

    Default

    nTop is not working fine in versions after 6, so please don't make your box unussable!, it causes segmentation faults, and a lot of services fallen!

  10. #10
    Newbie alex_dutch's Avatar
    Join Date
    Jun 2010
    Location
    Ukraine
    Posts
    10

    Default

    About step 2, can we directly give a path to repository ntop.

    P.S. Good topic, nice work.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2