1 查看防火墙状态
[root@lvxinghao ~]# systemctl status firewalld
2 查看开机是否启动防火墙服务
[root@lvxinghao ~]# systemctl is-enabled firewalld
3 关闭防火墙
[root@lvxinghao ~]# systemctl stop firewalld
[root@lvxinghao ~]# systemctl status firewalld
4 禁用防火墙(系统启动时不启动防火墙服务)
[root@lvxinghao ~]# systemctl disable firewalld
[root@lvxinghao ~]# systemctl is-enabled firewalld
Linux 7 关闭、禁用防火墙服务
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Linux防火墙
Linux防火墙
Linux运维 iptables firewall firewalld -
centos 7 禁用 selinux 禁用防火墙
centos 7 禁用 selinux 禁用防火墙
centos 7 禁用 selinux -
LINUX关闭防火墙
关闭防火墙 在系统里新建终端 输入/etc/init.d/iptables stop 回车
关闭 LINUX 职场 防火墙 休闲 -
Linux 关闭防火墙(6/7/8)
每天一个 DBA 小知识,助你更进一步!
linux 技术交流 公众号