关闭firewall service firewalld stop systemctl disable firewalld.service #禁止firewall开机启动 安装iptables规则: yum install iptables-services #安装 打开/etc/sysconfig/iptables配置文件 默认: # sample configuration for iptables service # you can edit this manually or use sy…