(1) 重启后永久性生效:
开启:chkconfig iptables on
关闭:chkconfig iptables off
(2) 即时生效,重启后失效(即重启后防火墙自动开启):
开启:service iptables start
关闭:service iptables stop
service iptables status
Linux--在Linux下永久或暂时关闭防火墙命令
猜你喜欢
转载自liumayulingyan.iteye.com/blog/2042082
今日推荐
周排行