Linux关闭防火墙命令

Linux关闭防火墙命令

1) 永久性生效,重启后不会复原
开启:chkconfig iptables on
关闭:chkconfig iptables off

2) 即时生效,重启后复原
开启:service iptables start
关闭:service iptables stop

 

posted @ 2015-06-29 14:46  星星故乡  阅读(14849)  评论(0)    收藏  举报