1:查看防火状态systemctl status firewalld2:暂时关闭防火墙systemctl stop firewalld3:永久关闭防火墙systemctl disable firewalld4:重启防火墙systemctl enable firewalld5:永久关闭后重启chkconfig iptables on
CentOS 操作防火墙
原文:https://www.cnblogs.com/java-h/p/10641475.html