1.关闭firewall:
service firewalld stop
systemctl disable firewalld.service #禁止firewall开机启动
2.iptables安装以及 使用
yum install iptables-services #安装
systemctl start iptables
systemctl enable iptables
1.关闭firewall:
service firewalld stop
systemctl disable firewalld.service #禁止firewall开机启动
2.iptables安装以及 使用
yum install iptables-services #安装
systemctl start iptables
systemctl enable iptables