①查看防火墙状态:
systemctl status firewalld
②临时关闭防火墙:(下次启动虚拟机时防火墙会自行开启)
systemctl stop firewalld
③永久关闭反防火墙:
systemctl disable firewalld
④开启防火墙:
systemctl enable firewalld
①查看防火墙状态:
systemctl status firewalld
②临时关闭防火墙:(下次启动虚拟机时防火墙会自行开启)
systemctl stop firewalld
③永久关闭反防火墙:
systemctl disable firewalld
④开启防火墙:
systemctl enable firewalld