From 6c90c5827428ea3692acc2bc17f27c91d68edbb3 Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Tue, 1 Sep 2026 01:57:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dlegacy=20`download=5Fdetour`?= =?UTF-8?q?=20remote=20rule=E2=80=91set=20option=20=E5=B7=B2=E5=9C=A8=20si?= =?UTF-8?q?ng=E2=80=91box=201.14.0=20=E4=B8=AD=E8=A2=AB=E5=BC=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit legacy `download_detour` remote rule‑set option 已在 sing‑box 1.14.0 中被弃用,且将在 sing‑box 1.16.0 中被移除sing-box。 你的订阅配置里,**远程规则集(rule‑set)使用了旧字段 `download_detour`**,这个字段在 1.14 版本标记废弃,到 1.16 版本内核会直接不识别,配置就会失效sing-box。 官方替代:把 `download_detour` 替换为 `http_client` 配置项sing-box。 --- singbox/1.14/temple_v1.json | 494 ++++++++++++++++++++++++++++++++++++ 1 file changed, 494 insertions(+) create mode 100644 singbox/1.14/temple_v1.json diff --git a/singbox/1.14/temple_v1.json b/singbox/1.14/temple_v1.json new file mode 100644 index 0000000..af432d6 --- /dev/null +++ b/singbox/1.14/temple_v1.json @@ -0,0 +1,494 @@ +{ + "dns": { + "servers": [ + { + "tag": "remote", + "type": "https", + "server": "1.1.1.1", + "server_port": 443, + "detour": "🔵🔴🟡🟢 Google" + }, + { + "tag": "local", + "type": "https", + "server": "223.5.5.5", + "server_port": 443 + } + ], + "rules": [ + { + "clash_mode": "Global", + "server": "remote" + }, + { + "clash_mode": "Direct", + "server": "local" + }, + { + "rule_set": [ + "geosite-cn" + ], + "server": "local" + } + ], + "strategy": "ipv4_only" + }, + "inbounds": [ + { + "type": "tun", + "tag": "tun-in", + "auto_route": true, + "endpoint_independent_nat": true, + "address": [ + "172.19.0.1/30", + "2001:0470:f9da:fdfa::1/64" + ], + "mtu": 9000, + "stack": "system", + "strict_route": true + }, + { + "type": "socks", + "tag": "socks-in", + "listen": "127.0.0.1", + "listen_port": 2333 + }, + { + "type": "mixed", + "tag": "mixed-in", + "listen": "127.0.0.1", + "listen_port": 2334 + } + ], + "outbounds": [ + { + "tag": "🔵🔴🟡🟢 Google", + "type": "selector", + "outbounds": [ + "美国01ARM🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🧠 AI", + "type": "selector", + "outbounds": [ + "美国09LEAD🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🚀 节点选择", + "type": "selector", + "outbounds": [ + "美国01ARM🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🍟 美国", + "type": "selector", + "outbounds": [ + "美国09LEAD🌏" + ] + }, + { + "tag": "📲 电报消息", + "type": "selector", + "outbounds": [ + "新加坡04ARM✈" + ] + }, + { + "tag": "🟢 whatsapp", + "type": "selector", + "outbounds": [ + "美国01ARM🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🎵🕺 tiktok", + "type": "selector", + "outbounds": [ + "美国01ARM🌏", + "🇺🇲 711" + ] + }, + { + "tag": "✨ Social", + "type": "selector", + "outbounds": [ + "美国09LEAD🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🪟 microsoft", + "type": "selector", + "outbounds": [ + "美国01ARM🌏", + "🇺🇲 711" + ] + }, + { + "tag": "🇺🇲 美国中转", + "type": "selector", + "outbounds": [ + "美国01ARM🌏" + ] + }, + { + "tag": "🇭🇰 香港📞", + "type": "selector", + "outbounds": [ + "香港01ALICE😉" + ] + }, + { + "tag": "🇬🇧 英国📞", + "type": "selector", + "outbounds": [ + "英国01VM6 🇬🇧" + ] + }, + { + "tag": "🇺🇲 美国📞", + "type": "selector", + "outbounds": [ + "美国01ARM🌏" + ] + }, + { + "type": "socks", + "tag": "🇺🇲 711", + "server": "socks.ssr.ee", + "server_port": 45721, + "username": "VtAlM1mzrpwq", + "password": "XUkLPuew7bPI", + "detour": "🇺🇲 美国中转", + "domain_resolver": "remote" + }, + { + "tag": "direct", + "type": "direct" + }, + { + "tag": "♻️ 自动选择", + "type": "urltest", + "outbounds": [] + } + ], + "route": { + "auto_detect_interface": true, + "default_domain_resolver": { + "server": "local" + }, + "rules": [ + { + "inbound": [ + "tun-in", + "socks-in", + "mixed-in" + ], + "action": "resolve", + "strategy": "ipv4_only" + }, + { + "inbound": [ + "tun-in", + "socks-in", + "mixed-in" + ], + "action": "sniff" + }, + { + "protocol": "dns", + "action": "hijack-dns" + }, + { + "clash_mode": "Direct", + "outbound": "direct" + }, + { + "clash_mode": "Global", + "outbound": "🚀 节点选择" + }, + { + "ip_is_private": true, + "outbound": "direct" + }, + { + "rule_set": [ + "geosite-cn", + "geoip-cn", + "salem@cn" + ], + "outbound": "direct" + }, + { + "domain": [ + "v2.sswiwi.com" + ], + "outbound": "🚀 节点选择" + }, + { + "rule_set": [ + "us" + ], + "outbound": "🍟 美国" + }, + { + "rule_set": [ + "geoip_telegram", + "geosite_telegram" + ], + "ip_cidr": [ + "194.221.250.50/32" + ], + "outbound": "📲 电报消息" + }, + { + "rule_set": [ + "category-ai-chat-!cn" + ], + "outbound": "🧠 AI" + }, + { + "rule_set": [ + "whatsapp" + ], + "outbound": "🟢 whatsapp" + }, + { + "rule_set": [ + "tiktok" + ], + "outbound": "🎵🕺 tiktok" + }, + { + "rule_set": [ + "facebook", + "facebook_ip", + "x", + "instagram" + ], + "outbound": "✨ Social" + }, + { + "rule_set": [ + "microsoft" + ], + "outbound": "🪟 microsoft" + }, + { + "rule_set": [ + "google", + "google_ip", + "geolocation-!cn" + ], + "outbound": "🔵🔴🟡🟢 Google" + }, + { + "rule_set": [ + "Wifi_Call_HK" + ], + "outbound": "🇭🇰 香港📞" + }, + { + "rule_set": [ + "Wifi_Call_UK" + ], + "outbound": "🇬🇧 英国📞" + }, + { + "rule_set": [ + "Wifi_Call_US" + ], + "outbound": "🇺🇲 美国📞" + } + ], + "rule_set": [ + { + "tag": "geosite-cn", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/cn.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "geoip-cn", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/cnip.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "geoip_telegram", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "geosite_telegram", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "category-ai-chat-!cn", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-ai-chat-!cn.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "whatsapp", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/whatsapp.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "tiktok", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/tiktok.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "facebook", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/facebook.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "facebook_ip", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/facebook.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "x", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/x.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "instagram", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/instagram.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "microsoft", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "google", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "google_ip", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "geolocation-!cn", + "type": "remote", + "format": "binary", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "Wifi_Call_HK", + "type": "remote", + "format": "source", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/Wifi_Call_HK.json", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "Wifi_Call_UK", + "type": "remote", + "format": "source", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/Wifi_Call_UK.json", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "Wifi_Call_US", + "type": "remote", + "format": "source", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/Wifi_Call_US.json", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "salem@cn", + "type": "remote", + "format": "source", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/salem@cn.json", + "http_client": { + "detour": "♻️ 自动选择" + } + }, + { + "tag": "us", + "type": "remote", + "format": "source", + "url": "https://raw.githubusercontent.com/lusalem/ruleset/refs/heads/main/rules/singbox/us.json", + "http_client": { + "detour": "♻️ 自动选择" + } + } + ] + } +} \ No newline at end of file