Linux永久关闭防火墙

2019-04-18  本文已影响0人  千叶飞雪

1.首先查看防火墙状态:
service iptables status
2.永久性生效,重启后不会复原
开启:
chkconfig iptables on
关闭:
chkconfig iptables off
3.即时生效,重启后复原
开启:
service iptables start
关闭:
service iptables stop
4.设置后重启:
reboot

上一篇 下一篇

猜你喜欢

热点阅读