HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Unable to connect (iptables problem?) (http://www.howtoforge.com/forums/showthread.php?t=3958)

Samatttv 27th April 2006 19:56

Unable to connect (iptables problem?)
 
Ok, after a few tries (and forgotten dependencies) I successfully finished the ISPConfig installation after performing a "Perfect Setup" on my remote dedicated server (running FC4).

My problem now is that I am unable to connect to my server via http or https (referencing the IP address directly). I chose SSL and port 81 for ISPConfig during the installation.

I dont think this is an ISPConfig-only problem as I am unable to connect to my normal Apache server via port 80 either. Could this be a problem in my iptables? I'm relatively new to linux so I dont want to screw up this table by just messing around with it.

Here is the output of iptables -L :
Quote:

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Do I need to open port 81 here? (and 80 for that matter) Or am I completely off base?

till 27th April 2006 20:50

please post the output of:

netstat -tap

Samatttv 27th April 2006 21:02

# netstat -tap
Code:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name
tcp        0      0 *:imaps                    *:*                        LISTEN      1910/xinetd
tcp        0      0 *:pop3s                    *:*                        LISTEN      1910/xinetd
tcp        0      0 *:mysql                    *:*                        LISTEN      5895/mysqld
tcp        0      0 *:pop3                      *:*                        LISTEN      1910/xinetd
tcp        0      0 *:imap                      *:*                        LISTEN      1910/xinetd
tcp        0      0 *:81                        *:*                        LISTEN      1745/ispconfig_http
tcp        0      0 *:ftp                      *:*                        LISTEN      1883/proftpd: (acce
tcp        0      0 mydomain.dedic:domain *:*                        LISTEN      1865/named
tcp        0      0 localhost.localdomai:domain *:*                        LISTEN      1865/named
tcp        0      0 *:ipp                      *:*                        LISTEN      1866/cupsd
tcp        0      0 localhost.localdomain:rndc  *:*                        LISTEN      1865/named
tcp        0      0 *:smtp                      *:*                        LISTEN      1838/master
tcp        0      0 *:http                      *:*                        LISTEN      1766/httpd
tcp        0      0 *:ssh                      *:*                        LISTEN      1902/sshd
tcp        0  2004 mydomain.dedicate:ssh wsip-myip.ok.:1555 ESTABLISHED 3917/0

mydomain and myip are replaced

till 27th April 2006 22:03

The ISPConfig server seems to be running.

How are you connected to your server? Over the internet or is your server in your local network?


All times are GMT +2. The time now is 03:21.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.