linux-tutorial/codes/linux/ops/sys/stop-firewall.sh
2019-02-22 18:57:46 +08:00

11 lines
347 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
###################################################################################
# 彻底关闭防火墙
# 参考https://www.cnblogs.com/moxiaoan/p/5683743.html
# Author: Zhang Peng
###################################################################################
systemctl stop firewalld
systemctl disable firewalld