Last Updated: May 31, 2016
·
353
· juancho

iptables enable port 80

# Add rules to firewall
iptables -I INPUT -m state --state NEW,ESTABLISHED -m tcp -p tcp --dport 80 -j ACCEPT
service iptables save
#(Optional) Set SELinux to permissive
sudo vi /etc/sysconfig/selinux
change enforcing to permissive