We have a CentOS 5.3 server, we have tried opening ports 80 and 53 on the iptables firewall by placing the following code lines in /etc/sysconfig/iptables above the reject and commit lines and restarted it, still can't access the website.
If we turn the iptables firewall off we can see the website on a client browser.
Please help, thanks in advance.
Code:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 53 -j ACCEPT
If we turn the iptables firewall off we can see the website on a client browser.
Please help, thanks in advance.