CentOS下禁止防火墙

CentOS下禁止防火墙

1.使用如下命令安装iptables-services。

yum install -y iptables-services

2.关闭防火墙。

service iptables stop

3.禁止开机启动。

systemctl disable firewalld

4.检查防火墙状态。

service iptables status

猜你喜欢

转载自www.cnblogs.com/ALittleMoreLove/p/9486422.html
今日推荐