Firewall blocking local connections?

P

postcd

Guest
Hello,

my server web based control panel is accessible, but somehow cant connect to the server (no_socket_connect_to_server):

Please can i ask for advice if my firewall config is right?

Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- localhost anywhere
DROP all -- ...some ip there... anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
...

It is iptables on redhat enterprise linux 6.6

I have doubts about first line.. should i remove it? how without flushing firewall? Thank you
 


Could you show the output of 'iptables -nxvL'?
Thank You, i PMed it to you and your advice helped to fix the issue. I had to remove that first iptables rule.

before:
1 DROP all -- 127.0.0.1 0.0.0.0/0

after:
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

commands executed:
iptables-save > /root/iptables.backup
iptables -D INPUT 1
iptables -I INPUT -i lo -j ACCEPT
/etc/init.d/iptables save

Thank you
 

Members online


Latest posts

Top