1

iptables config works in one Centos 6 server but not another one

view story
linux-howto

http://serverfault.com – This iptables script: #!/bin/sh service iptables stop iptables -F iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -p tcp -m multiport --dports 22,80,443 -m state --state NEW,ESTABLISHED -j ACCEPT service iptables save service iptables restart works as expected on a Centos 6.3 server (provided by VPSBlocks.com.au) but not a Centos 6.0 server (provided by VPSNine.com). By "works as expected", I mean that it at least allows incoming access to ports 22, 80 and 443. And by not working, I mean it doesn't allow access. (HowTos)