From a21494305e256f393b2fe8271882f1e5ec23694c Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 16 Jun 2021 16:55:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/ufw_remove.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/ufw_remove.sh b/shell/ufw_remove.sh index 8067438..8904407 100644 --- a/shell/ufw_remove.sh +++ b/shell/ufw_remove.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash # wget -P /tmp -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/shell/ufw_remove.sh" && chmod 700 /tmp/ufw_remove.sh && /tmp/ufw_remove.sh systemctl stop ufw +systemctl disable ufw iptables -F iptables -I INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -I OUTPUT -o eth0 -d 0.0.0.0/0 -j ACCEPT