查看防火墙状态: systemctl status firewalld
关闭防火墙: systemctl stop firewalld
开启防火墙: systemctl start firewalld
将关闭防火墙设置为开机启动: systemctl disable firewalld.service
查看开机状态: systemctl list-unit-files
比如查看防火墙开机状态: systemctl list-unit-files | grep firewalld