Linux CentOS7 关闭防火墙
1、查看防火墙状态
systemctl status firewalld.service
active(running)表示防火墙已打开
2、关闭防火墙
systemctl stop firewalld.service
3、再次查看防火墙状态,确认已关闭
systemctl status firewalld.service
4、永久关闭防火墙,不执行禁用将在重启后防火墙自动开启
systemctl disable firewalld.service