配置centos防火墙(iptables)开放80端口

#添加规则

/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT

#保存

/etc/rc.d/init.d/iptables save

posted @ 2016-04-15 14:41  Tiac  阅读(268)  评论(0编辑  收藏  举报