(一) 临时生效
开启: service iptables start
关闭: service iptables stop

(二) 永久性生效
开启: chkconfig iptables on
关闭: chkconfig iptables off