CentOS 6: IPTable Rules

Enable TCP Port 80 and 443

iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

Activate above rules

service iptables save
service iptables restart