linux 操作防火墙

1) 重启后永久性生效:
开启:chkconfig iptables on 
关闭:chkconfig iptables off 

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

service iptables stop
service iptables save

posted @ 2012-04-12 00:02  ppKevin  阅读(107)  评论(0)    收藏  举报