设置永久关闭防火墙:
systemctl stop firewalld 先关闭本次的防火墙
systemctl disable firewalld 再设置每次启动时自动关闭防火墙
Centos独有的关于防火墙的命令
systemctl status firewalld 查看防火墙的状态
systemctl stop firewalld 关闭防火墙
systemctl restart firewalld重启防火墙
systemctl start firewalld 启动防火墙
systemctl stop firewalld 先关闭本次的防火墙
systemctl disable firewalld 再设置每次启动时自动关闭防火墙
systemctl status firewalld 查看防火墙的状态
systemctl stop firewalld 关闭防火墙
systemctl restart firewalld重启防火墙
systemctl start firewalld 启动防火墙