-- 永久设置防火墙(重启不恢复)
开启:chkconfig iptables on
关闭:chkconfig iptables off
-- 暂时设置防火墙(重启后恢复)
开启:service iptables start
关闭:service iptables stop
-- 永久设置防火墙(重启不恢复)
开启:chkconfig iptables on
关闭:chkconfig iptables off
-- 暂时设置防火墙(重启后恢复)
开启:service iptables start
关闭:service iptables stop