Linux防火墙关闭和开启命令

(1)重启后永久性生效:
  开启:chkconfig iptables on    关闭:chkconfig iptables off
(2)即时生效,重启后失效:
  开启:service iptables start     关闭:service iptables stop  重启:service iptables restart

猜你喜欢

转载自www.cnblogs.com/chenmingjun/p/9936388.html
今日推荐