systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
systemctl start firewalld #启动 firewall
firewall-cmd --state #查看状态
centos 关闭防火墙
原文:https://www.cnblogs.com/binz/p/12887611.html