access to server

Discussion in 'Installation/Configuration' started by Cougar105, Oct 13, 2006.

  1. Cougar105

    Cougar105 New Member

    Having successfully installed Mandriva 2006 and ISPConfig using the 'howto' I now find that I am unable to open ispconfig. My router has it as an attached device "server1" at 192.168.0.100 but when I try to log in using "https://www.*****.com:81" all I get is an error page "Cannot find server"

    Netstat -tap reads:

    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 5958/xinetd
    tcp 0 0 *:32769 *:* LISTEN -
    tcp 0 0 *:nfs *:* LISTEN -
    tcp 0 0 *:pop3s *:* LISTEN 5958/xinetd
    tcp 0 0 server1.example.com:10026 *:* LISTEN 30366/master
    tcp 0 0 *:mysql *:* LISTEN 7426/mysqld
    tcp 0 0 *:netbios-ssn *:* LISTEN 3940/smbd
    tcp 0 0 *:pop3 *:* LISTEN 5958/xinetd
    tcp 0 0 *:imap *:* LISTEN 5958/xinetd
    tcp 0 0 *:sunrpc *:* LISTEN 2362/portmap
    tcp 0 0 *:http *:* LISTEN 30239/httpd
    tcp 0 0 *:x11 *:* LISTEN 3148/X
    tcp 0 0 *:81 *:* LISTEN 29945/ispconfig_htt
    tcp 0 0 *:979 *:* LISTEN 2493/rpc.statd
    tcp 0 0 *:ftp *:* LISTEN 30401/proftpd: (acc
    tcp 0 0 server1.example.com:5335 *:* LISTEN 3211/mDNSResponder
    tcp 0 0 *:smtp *:* LISTEN 30366/master
    tcp 0 0 *:https *:* LISTEN 30239/httpd
    tcp 0 0 *:microsoft-ds *:* LISTEN 3940/smbd
    tcp 0 0 *:637 *:* LISTEN 3426/rpc.mountd
    tcp 0 0 *:x11 *:* LISTEN 3148/X
    tcp 0 0 *:ssh *:* LISTEN 3272/sshd
    tcp 0 52 localhost:ssh localhost:2509 ESTABLISHED 31355/0
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The ISPConfig httpd is running.

    Please post the output of:

    iptables -L

    Did you try to login with:

    https://192.168.0.100:81/
     
  3. Cougar105

    Cougar105 New Member

    Many thanks

    I hadn't tried "https://192.068.0.100:81" as a log but have now and it works. Still need to solve the other login though.

    iptable -L as requested

    Chain INPUT (policy DROP)
    target prot opt source destination
    DROP tcp -- anywhere 127.0.0.0/8
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT all -- anywhere anywhere
    DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain FORWARD (policy DROP)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    DROP all -- anywhere anywhere

    Chain INT_IN (0 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain INT_OUT (0 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere

    Chain PAROLE (9 references)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere

    Chain PUB_IN (4 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
    ACCEPT icmp -- anywhere anywhere icmp echo-reply
    ACCEPT icmp -- anywhere anywhere icmp time-exceeded
    ACCEPT icmp -- anywhere anywhere icmp echo-request
    PAROLE tcp -- anywhere anywhere tcp dpt:ftp
    PAROLE tcp -- anywhere anywhere tcp dpt:ssh
    PAROLE tcp -- anywhere anywhere tcp dpt:smtp
    PAROLE tcp -- anywhere anywhere tcp dpt:domain
    PAROLE tcp -- anywhere anywhere tcp dpt:http
    PAROLE tcp -- anywhere anywhere tcp dpt:81
    PAROLE tcp -- anywhere anywhere tcp dpt:pop3
    PAROLE tcp -- anywhere anywhere tcp dpt:https
    PAROLE tcp -- anywhere anywhere tcp dpt:10000
    ACCEPT udp -- anywhere anywhere udp dpt:domain
    DROP icmp -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain PUB_OUT (4 references)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If the login with IP works, your problem is related to the DNS entry of your domain or to you router and not your ISPConfig server.

    Did the domain www.*****.com points to your external IP of your router and have you forwarded port 81 from your router to IP 192.168.0.100 ?
     

Share This Page