From 8b6c28c9f0c75db5b2a558bd293b4e6897587ead Mon Sep 17 00:00:00 2001 From: eooce <142894633+eooce@users.noreply.github.com> Date: Sun, 4 Aug 2024 17:07:13 +0800 Subject: [PATCH] =?UTF-8?q?VPS=E4=B8=80=E9=94=AE=E5=9B=9B=E5=90=88?= =?UTF-8?q?=E4=B8=80=E8=84=9A=E6=9C=AC(reality+vmess-ws-tls(argo)+hysteria?= =?UTF-8?q?2+tuic5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sing-box.sh | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/sing-box.sh b/sing-box.sh index b3b041f..908969d 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -201,14 +201,13 @@ cat > "${config_dir}" << EOF "dns": { "servers": [ { - "tag": "cloudflare", - "address": "https://1.1.1.1/dns-query", - "strategy": "ipv4_only", - "detour": "direct" + "tag": "Google", + "address": "https://dns.google/dns-query", + "address_resolver": "local" }, { - "tag": "block", - "address": "rcode://success" + "tag": "local", + "address": "local" } ], "rules": [ @@ -231,8 +230,7 @@ cat > "${config_dir}" << EOF "server": "block" } ], - "final": "cloudflare", - "strategy": "", + "final": "local", "disable_cache": false, "disable_expire": false }, @@ -389,22 +387,19 @@ cat > "${config_dir}" << EOF "tag": "geosite-netflix", "type": "remote", "format": "binary", - "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-netflix.srs", - "download_detour": "direct" + "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-netflix.srs" }, { "tag": "geosite-openai", "type": "remote", "format": "binary", - "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/openai.srs", - "download_detour": "direct" + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/openai.srs" }, { "tag": "geosite-category-ads-all", "type": "remote", "format": "binary", - "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs", - "download_detour": "direct" + "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs" } ], "auto_detect_interface": true,