1.启动防火墙
systemctl start firewalld
2.禁用防火墙systemctl stop firewalld
3.设置开机启动systemctl enable firewalld
4.停止并禁用开机启动systemctl disable firewalld
5.重启防火墙firewall-cmd --reload
6.查看状态
systemctl status firewalld或者 firewall-cmd --state
7.查看版本firewall-cmd --version