ISPConfig not seeing external IP

Discussion in 'Installation/Configuration' started by JustonTN, Apr 14, 2012.

  1. JustonTN

    JustonTN New Member

    Hello,

    I have an HP Server that I have ISPConfig 3 setup on with CentOS 5.8, the install and setup has been pretty smooth so far, but my only snag is I can not access the ISPConfig login screen using the external IP, only the local... Any suggestions?

    Thanks
    JustonTN
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ? Does your router forward port 8080 to your ISPConfig server? What are the outputs of
    Code:
    iptables -L
    and
    Code:
    getenforce
    ?
     
  3. JustonTN

    JustonTN New Member

    I got it figured out, but now I am having a new issue...

    I can send mail OUT from the server, but I can not receive mail IN...

    i created a mail user [email protected] and logged into webmail, sent an email to my hotmail account, then went to hotmail and sent one back to my webmail account, but I never recveived it, I checked the maillog file and I cant see anything that looks amiss. of cousrse im not sure what to look for.

    Thanks
    Juston
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please check if the MX record of your domain is pointing to the correct server. You can check that as follows:
    Code:
    dig mx yourdomain.com
    Also, does your router forward port 25 to your ISPConfig server?

    It is also possible that your provider blocks port 25, so you should check.
     
  5. JustonTN

    JustonTN New Member

    Also apparently i screwed something up because now I can not get to IPSConfig at https://184.191.56.79:8080
     
  6. JustonTN

    JustonTN New Member

    Back to this again...UGH....

    netstat -tap\
    Code:
    [root@suprtech ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 suprtech.com:2208           *:*                         LISTEN      3088/./hpiod
    tcp        0      0 *:imaps                     *:*                         LISTEN      5728/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      5728/dovecot
    tcp        0      0 suprtech.com:10024          *:*                         LISTEN      5698/amavisd (maste
    tcp        0      0 *:5801                      *:*                         LISTEN      7050/Xvnc
    tcp        0      0 suprtech.com:10025          *:*                         LISTEN      5665/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      5594/mysqld
    tcp        0      0 *:5901                      *:*                         LISTEN      7050/Xvnc
    tcp        0      0 *:pop3                      *:*                         LISTEN      5728/dovecot
    tcp        0      0 suprtech.com:dyna-access    *:*                         LISTEN      5715/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      5728/dovecot
    tcp        0      0 *:bmc-perf-agent            *:*                         LISTEN      3699/./ezb
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      2773/portmap
    tcp        0      0 *:880                       *:*                         LISTEN      2818/rpc.statd
    tcp        0      0 *:6001                      *:*                         LISTEN      7050/Xvnc
    tcp        0      0 suprtech.com:domain         *:*                         LISTEN      5848/named
    tcp        0      0 suprtech.com:domain         *:*                         LISTEN      5848/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      5759/pure-ftpd (SER
    tcp        0      0 *:ssh                       *:*                         LISTEN      3106/sshd
    tcp        0      0 suprtech.com:ipp            *:*                         LISTEN      3115/cupsd
    tcp        0      0 suprtech.com:rndc           *:*                         LISTEN      5848/named
    tcp        0      0 *:smtp                      *:*                         LISTEN      5665/master
    tcp        0      0 suprtech.com:2207           *:*                         LISTEN      3093/python
    tcp        0      0 suprtech.com:42477          punch.va.us.dal.net:ircd    ESTABLISHED 3699/./ezb
    tcp        0      0 suprtech.com:39180          undernet.xs4all.nl:ircd     ESTABLISHED 3699/./ezb
    tcp        0      0 suprtech.com:5901           97-82-89-92.static.kg:50959 ESTABLISHED 7050/Xvnc
    tcp        0      0 suprtech.com:bmc-perf-agent 97-82-89-92.static.kg:50463 ESTABLISHED 3699/./ezb
    tcp        0      0 suprtech.com:bmc-perf-agent 97-82-89-92.static.kg:50468 ESTABLISHED 3699/./ezb
    tcp        0    296 suprtech.com:ssh            97-82-89-92.static.kg:50498 ESTABLISHED 3908/sshd
    tcp        0      0 *:imaps                     *:*                         LISTEN      5728/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      5728/dovecot
    tcp        0      0 *:pop3                      *:*                         LIST                 cot
    tcp        0      0 *:imap                      *:*                         LIST                 cot
    tcp        0      0 *:webcache                  *:*                         LIST                 d
    tcp        0      0 *:http                      *:*                         LIST                 d
    tcp        0      0 *:tproxy                    *:*                         LIST                 d
    tcp        0      0 *:6001                      *:*                         LIST                 
    tcp        0      0 *:domain                    *:*                         LIST                 d
    tcp        0      0 *:ftp                       *:*                         LIST                 -ftpd (SER
    tcp        0      0 *:ssh                       *:*                         LIST                 
    tcp        0      0 localhost6.localdomain:rndc *:*                         LIST                 d
    tcp        0      0 *:https                     *:*                         LIST                 d
    [root@suprtech ~]# clear
    [root@suprtech ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                 e       PID/Program name
    tcp        0      0 suprtech.com:2208           *:*                         LIST                 EN      3088/./hpiod
    tcp        0      0 *:imaps                     *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:pop3s                     *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 suprtech.com:10024          *:*                         LIST                 EN      5698/amavisd (maste
    tcp        0      0 *:5801                      *:*                         LIST                 EN      7050/Xvnc
    tcp        0      0 suprtech.com:10025          *:*                         LIST                 EN      5665/master
    tcp        0      0 *:mysql                     *:*                         LIST                 EN      5594/mysqld
    tcp        0      0 *:5901                      *:*                         LIST                 EN      7050/Xvnc
    tcp        0      0 *:pop3                      *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 suprtech.com:dyna-access    *:*                         LIST                 EN      5715/clamd
    tcp        0      0 *:imap                      *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:bmc-perf-agent            *:*                         LIST                 EN      3699/./ezb
    tcp        0      0 *:sunrpc                    *:*                         LIST                 EN      2773/portmap
    tcp        0      0 *:880                       *:*                         LIST                 EN      2818/rpc.statd
    tcp        0      0 *:6001                      *:*                         LIST                 EN      7050/Xvnc
    tcp        0      0 suprtech.com:domain         *:*                         LIST                 EN      5848/named
    tcp        0      0 suprtech.com:domain         *:*                         LIST                 EN      5848/named
    tcp        0      0 *:ftp                       *:*                         LIST                 EN      5759/pure-ftpd (SER
    tcp        0      0 *:ssh                       *:*                         LIST                 EN      3106/sshd
    tcp        0      0 suprtech.com:ipp            *:*                         LIST                 EN      3115/cupsd
    tcp        0      0 suprtech.com:rndc           *:*                         LIST                 EN      5848/named
    tcp        0      0 *:smtp                      *:*                         LIST                 EN      5665/master
    tcp        0      0 suprtech.com:2207           *:*                         LIST                 EN      3093/python
    tcp        0      0 suprtech.com:42477          punch.va.us.dal.net:ircd    ESTA                 BLISHED 3699/./ezb
    tcp        0      0 suprtech.com:39180          undernet.xs4all.nl:ircd     ESTA                 BLISHED 3699/./ezb
    tcp        0      0 suprtech.com:5901           97-82-89-92.static.kg:50959 ESTA                 BLISHED 7050/Xvnc
    tcp        0      0 suprtech.com:bmc-perf-agent 97-82-89-92.static.kg:50463 ESTA                 BLISHED 3699/./ezb
    tcp        0      0 suprtech.com:bmc-perf-agent 97-82-89-92.static.kg:50468 ESTA                 BLISHED 3699/./ezb
    tcp        0    444 suprtech.com:ssh            97-82-89-92.static.kg:50498 ESTA                 BLISHED 3908/sshd
    tcp        0      0 *:imaps                     *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:pop3s                     *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:pop3                      *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:imap                      *:*                         LIST                 EN      5728/dovecot
    tcp        0      0 *:webcache                  *:*                         LIST                 EN      8025/httpd
    tcp        0      0 *:http                      *:*                         LIST                 EN      8025/httpd
    tcp        0      0 *:tproxy                    *:*                         LIST                 EN      8025/httpd
    tcp        0      0 *:6001                      *:*                         LIST                 EN      7050/Xvnc
    tcp        0      0 *:domain                    *:*                         LIST                 EN      5848/named
    tcp        0      0 *:ftp                       *:*                         LIST                 EN      5759/pure-ftpd (SER
    tcp        0      0 *:ssh                       *:*                         LIST                 EN      3106/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LIST                 EN      5848/named
    tcp        0      0 *:https                     *:*                         LIST                 EN      8025/httpd
    [root@suprtech ~]#
    
    ALL ports are forwarded in the router

    iptables -L
    Code:
    [root@suprtech ~]# iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    [root@suprtech ~]#
    

    getenforce

    Code:
    [root@suprtech ~]# getenforce
    Disabled
    [root@suprtech ~]#
    I'm logged in the server machine via VNC (The Server is in Louisiana and I am in Tennessee)

    If I open up the web browser on the server and go to https://184.191.56.79:8080 isp config opens fine, but if I try to go to it here locally, the page times out.

    Any ideas what I screwed up?

    Thanks Juston
     
  7. falko

    falko Super Moderator Howtoforge Staff

    I cannot open it either, so I guess it's some kind of firewall in your data center that blocks certain ports.
     

Share This Page