查看防火墙状态
systemctl status firewalld
关闭防火墙,重启后失效
systemctl stop firewalld
关闭防火墙,重启后仍保持关闭
systemctl disable firewalld
开启防火墙
systemctl enable firewalld
查看防火墙状态
systemctl status firewalld
关闭防火墙,重启后失效
systemctl stop firewalld
关闭防火墙,重启后仍保持关闭
systemctl disable firewalld
开启防火墙
systemctl enable firewalld