Problem viewing NTOP web statistic page

Discussion in 'HOWTO-Related Questions' started by asyadiqin, May 28, 2008.

  1. asyadiqin

    asyadiqin New Member

    I've managed to install ntop on my server which is running FC6. I can view the ntop web pages using lynx, ie.

    Code:
    lynx localhost:3000
    However, when I try viewing it externally, it just timed out.

    This is the output from netstat -tap

    Code:
    . . . . . . . . . .
    tcp		0	0 *:http                      *:*	LISTEN	32370/httpd
    tcp		0	0 *:ssh                       *:*   LISTEN  26618/sshd
    tcp		0	0 localhost.localdomain:ipp   *:*   LISTEN  2342/cupsd
    tcp		0	0 *:remoteware-cl             *:*   LISTEN  7329/ntop
    tcp		0	0 *:https                     *:*   LISTEN  32370/httpd
    . . . . . . . . . .
    
    and this is the output from ps aux | grep ntop

    Code:
    ntop      7329  0.3  2.0 160900 20540 ?        Ssl  20:01   0:06 /usr/local/bin/ntop -d -P /usr/local/share/ntop -u ntop
    
    I have disabled Selinux and I don't think my provider blocks the port, so I have no idea why I cannot view it externally.

    Any help is appreciated.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    iptables -L
    ?
     
  3. asyadiqin

    asyadiqin New Member

    This is the output for the above

    Code:
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https state NEW
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain state NEW
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:tftp state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:tftp state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:smtp state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:pop3 state NEW
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:ntp state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp-data state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:mysql state NEW
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:mysql state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:personal-agent state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:teradataordbms state NEW
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:etlservicemgr state NEW
    DROP       all  --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere            state NEW,RELATED,ESTABLISHED
    
    Does that help?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You must open port 3000 in your firewall.
     

Share This Page