一、即时生效,重启后失效:

1、启动:service iptables start

2、关闭:service iptables stop

 

二、重启后永久生效:

1、启动:chkconfig iptables on

2、关闭:chkconfig iptables off

相关文章: