Login as root
# vi /etc/sysconfig/iptables
Add these lines
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
Restart iptables
# /etc/init.d/iptables restart

Better be a 'GEEK' than an 'IDIOT'
No comments:
Post a Comment