Linux配置防火墙 开启80端口的方法

将(允许80端口)

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

添加到22端口配置的下面

然后重启防火墙!

 service iptables restart

原文地址:https://www.cnblogs.com/jiqing9006/p/8128058.html