centos7 关闭防火墙

systemctl stop firewalld 关闭防火墙

systemctl status firewalld 查看状态

systemctl disable firewalld 不启动

systemctl enable firewalld 启动

 

如果使用 service iptables stop   会抛出以下异常

Failed to stop iptables.service: Unit iptables.service not loaded.

posted on 2020-04-12 09:33  liguangming  阅读(176)  评论(0编辑  收藏  举报

导航