systemctl status firewalld:查看防火墙状态

systemctl stop firewalld:关闭本次防火墙

systemctl start firewalld:启动防火墙

systemctl disable firewalld:禁用防火墙

需要注意的是,如果当前防火墙是处理开启状态,使用disable禁用防火墙之后,并不会直接处于关闭状态,如果想要直接让他处于关闭状态,需要运行一下systemctl stop firewalld:关闭本次防火墙

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐