标签:服务 stat ble input tables save tar put status
1、开启80端口命令:/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2、保存配置 命令:/etc/rc.d/init.d/iptables save
3、重启服务命令 :/etc/rc.d/init.d/iptables restart
4、查看已经开放的端口: /etc/init.d/iptables status
标签:服务 stat ble input tables save tar put status
原文地址:http://www.cnblogs.com/carlo-jie/p/6104914.html