目录

CENTOS 7 关闭firewalld,使用iptables


1、关闭firewalld

systemctl stop firewalld.service
systemctl disable firewalld.service


2、安装iptables

yum -y install iptables-services 


3、设置开机启动iptables

systemctl restart iptables.service 
systemctl enable iptables.service