liunx关闭防火墙

1:查看防火状态

service  iptables status

  

2:暂时关闭防火墙

service  iptables stop

  

3:永久关闭防火墙

chkconfig iptables off

  

4:重启防火墙

service iptables restart  

  

猜你喜欢

转载自www.cnblogs.com/Amywangqing/p/12732611.html
今日推荐