# systemctl status firewalld
active(runing)代表运行
# systemctl stop firewalld && systemctl disable firewalld
# systemctl status firewalld
如图所示,已经关闭
# yum install iptables-services #此处可以使用 yum install -y iptables-s* 来查询以“iptables-s”开头的安装包
# systemctl start iptables && systemctl enable iptables
#systemctl status iptables