linux-tutorial/codes/linux/ops/sys/stop-firewall.sh

11 lines
348 B
Bash
Raw Normal View History

2019-02-22 18:57:46 +08:00
#!/usr/bin/env bash
###################################################################################
# 彻底关闭防火墙
# 参考https://www.cnblogs.com/moxiaoan/p/5683743.html
2019-05-07 14:29:16 +08:00
# @author: Zhang Peng
2019-02-22 18:57:46 +08:00
###################################################################################
systemctl stop firewalld
systemctl disable firewalld