Tutorials

CentOS :: Open port 80 on iptables

:: How to open http port on iptables
+ edit iptables rules

vi /etc/sysconfig/iptables

+ add this line

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

+ restarting iptables

/etc/init.d/iptables restart

 
:: Links
+ Google
+ HowToLinux

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *