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状态

linux防火墙开启-关闭,布布扣,bubuko.com

原文:http://www.cnblogs.com/rusking/p/3627310.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!