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
Written by juancho
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Iptables
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#