https://blog.csdn.net/qq_31927797/article/details/81095829
#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
#查看防火墙状态
firewall-cmd --state
#临时关闭selunx
setenforce 0
#关闭selinux
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g';
# 安装iptables
yum install iptables-services