输入systemctl status firewalld.service,显示active(running),表示防火墙已经打开
systemctl status firewalld.service
输入 systemctl stop firewalld.service ,关闭防火墙。
systemctl stop firewalld.service
输入 systemctl status firewalld.service,显示inactive(dead),说明防火墙已经关闭。
systemctl status firewalld.service
输入systemctl disable firewalld.service永久关闭防火墙。
systemctl disable firewalld.service