Linux关闭防火墙命令
查看当前防火墙状态
shell
systemctl status firewalld
永久性生效
开启
shell
systemctl enable firewalld
关闭
shell
systemctl disable firewalld
即时生效,重启后失效
开启
shell
systemctl start firewalld
关闭
shell
systemctl stop firewalld