View Single Post
  #10  
Old 30th July 2012, 12:37
poolet poolet is offline
Junior Member
 
Join Date: Jun 2012
Posts: 15
Thanks: 1
Thanked 2 Times in 1 Post
Default

Nothing, Seems that ports are close or something, At the beginning I had manage
/etc/sysconfig/iptables


Code:
-A INPUT -s 93.xxx.xx.xx/32 -i eth0 -p tcp -m --dport 8080 -m state --state NEW,ESTABLISHED -j ACCEPT 

-A OUTPUT -s 93.xxx.xx.xx/32 -o eth0 -p tcp --sport 8080 -m state --state ESTABLISHED -j ACCEPT
to be able to see ispconfig only from my external ip address and drop the port to any others,
that doesn't work for me, seems that iptable drop 8080 port in all external reach, so I comment out the above lines in iptables and replaced them with

Code:
-A INPUT -p tcp --dport 8080 -j ACCEPT
Now seems that port 8080 works fine and it's open since when I try to reach the address
http://www.domain.com:8080 I get error 400 Bad request "The plain HTTP request was sent to HTTPS port" that's correct since I configure nginx and ispconfig to respond only with https;// the strange here is that, If I try to reach

https://www.domain.com:8080 automatically redirects back to
http://www.domain.com/forum.php seems that ispconfig have mandated to redirects the request of login screen back to the current web site... To be honest, I didn't try to change
anything on ispconfig when I was able to login, I just change the default password and that's all!!

Last edited by poolet; 30th July 2012 at 12:40.
Reply With Quote