#添加规则 /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #保存 /etc/rc.d/init.d/iptables save 转载于:https://www.cnblogs.com/tujia/p/5395446.html