Linux下关闭和开启防火墙

1) 重启后生效

开启: chkconfig iptables on

关闭: chkconfig iptables off

2) 即时生效,重启后失效

开启: service iptables start

关闭: service iptables stop

posted on 2011-10-08 17:53  青紫蓝兔  阅读(97)  评论(0编辑  收藏  举报

导航