linux防火墙开启-关闭
时间:2014-03-27 04:04:43
收藏:0
阅读:571
1、永久性生效,重启后不会复原
开启: chkconfig iptables on
关闭: chkconfig iptables off
2、 即时生效,重启后复原
开启: service iptables start
关闭: service iptables stop
3、查看防火墙状态
service iptables status 查看iptables状态
原文:http://www.cnblogs.com/rusking/p/3627310.html
评论(0)