Centos7关闭firewalld换用iptables
in Linux with 0 comment

Centos7关闭firewalld换用iptables

in Linux with 0 comment

Centos7默认使用firewalld,博主习惯使用iptables

切换方法

systemctl stop firewalld	//关闭firewalld
yum install iptables-services	//安装或者更新iptables服务
systemctl enable iptables	//启动iptables
systemctl start iptables	//打开iptables