1、查看防火墙状态,输入sudo systemctl status firewalld,active(running),显示防火墙正在运行
2、临时关闭防火墙,输入sudo systemctl stop firewalld,inactive(dead),显示防火增关闭
3、永久关闭防火墙,系统 重启后,防火墙不会启动,sudo systemctl disalbe firewalld
4、打开防火墙命令sudo systemctl enable firewalld
5、打开防火墙命令:sudo systemctl start firewalld