1、查看防火墙状态
firewall-cmd --state
![](https://oss.jqhtml.com/wp-content/uploads/2020/7/QziqMr.png)
2、停止firewall
systemctl stop firewalld.service
![](https://oss.jqhtml.com/wp-content/uploads/2020/7/3iqMfq.png)
3、禁止firewall开机启动
systemctl disable firewalld.service
![](https://oss.jqhtml.com/wp-content/uploads/2020/7/NBRBrq.png)
原文地址:https://segmentfault.com/a/1190000022047188
1、查看防火墙状态
firewall-cmd --state
2、停止firewall
systemctl stop firewalld.service
3、禁止firewall开机启动
systemctl disable firewalld.service
原文地址:https://segmentfault.com/a/1190000022047188