CentOS 6.5开放80端口方法

  

/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 写入修改

/etc/init.d/iptables save 保存修改

service iptables restart 重启防火墙,修改生效

posted @ 2018-06-30 09:23  姜瑞涛  阅读(348)  评论(0编辑  收藏  举报