检测是否开启了firewall
systemctl status firewalld.service关闭firewall
systemctl stop firewalld.service禁止firewall开机自启
sytsemctl disable firewalld.service2、检测并安装iptables
yum install iptables-services vim /etc/sysconfig/iptables配置内容可参考Ubuntu iptables设置
检测是否开启了firewall
systemctl status firewalld.service关闭firewall
systemctl stop firewalld.service禁止firewall开机自启
sytsemctl disable firewalld.service2、检测并安装iptables
yum install iptables-services vim /etc/sysconfig/iptables配置内容可参考Ubuntu iptables设置