-
Notifications
You must be signed in to change notification settings - Fork 0
/
shellcrash_config_tun.json
114 lines (108 loc) · 10.7 KB
/
shellcrash_config_tun.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"log": {
"level": "info",
"timestamp": true
},
"dns": {
"servers": [
{"tag": "proxyDns", "address": "https://dns.google/dns-query", "address_resolver": "localDns", "address_strategy": "prefer_ipv4", "detour": "🚀 节点选择"},
{"tag": "localDns", "address": "223.5.5.5", "address_strategy": "prefer_ipv4","detour": "🎯 全球直连"},
{"tag": "block", "address": "rcode://success"}
],
"rules": [
{"outbound": "any", "server": "localDns", "disable_cache": true},
{"query_type": "HTTPS","server": "block"},
{"rule_set": "geosite-cn", "server": "localDns"},
{"clash_mode": "direct", "server": "localDns"},
{"clash_mode": "global", "server": "proxyDns"},
{"rule_set": "geosite-geolocation-!cn", "server": "proxyDns"}
],
"final": "proxyDns",
"strategy": "prefer_ipv4"
},
"inbounds": [
{
"type": "tun",
"inet4_address": "172.19.0.1/30",
"inet6_address": "fdfe:dcba:9876::1/126",
"mtu": 9000,
"auto_route": true,
"sniff": true,
"sniff_override_destination": false,
"endpoint_independent_nat": false,
"stack": "system",
"platform": {
"http_proxy": {
"enabled": true,
"server": "::",
"server_port": 7890
}
}
},
{
"type": "mixed",
"listen": "::",
"listen_port": 7892,
"sniff": true,
"users": []
}
],
"outbounds": [
{ "tag": "🚀 节点选择", "type": "selector", "outbounds": ["🏆 高级自选", "🔄 AI自选", "♻️ 自动选择", "🔧 手动切换", "🇭🇰 香港自动", "🇯🇵 日本自动", "🇹🇼 台湾自动", "🇰🇷 韩国自动", "🇸🇬 狮城自动", "🇺🇲 美国自动", "🎯 全球直连"] },
{ "tag": "📹 YouTube", "type": "selector", "outbounds": ["🚀 节点选择", "🏆 高级自选", "♻️ 自动选择", "🔧 手动切换", "🇭🇰 香港自动", "🇯🇵 日本自动", "🇹🇼 台湾自动", "🇰🇷 韩国自动", "🇸🇬 狮城自动", "🇺🇲 美国自动"] },
{ "tag": "🎮 游戏平台", "type": "selector", "outbounds": ["🚀 节点选择", "🏆 高级自选", "🔧 手动切换"] },
{ "tag": "🤖 人工智能", "type": "selector", "outbounds": [ "🔄 AI自选", "🔧 手动切换"] },
{ "tag": "🔍 Google", "type": "selector", "outbounds": ["🚀 节点选择", "🏆 高级自选", "🔧 手动切换"] },
{ "tag": "🪟 微软中国", "type": "selector", "outbounds": ["🎯 全球直连", "🚀 节点选择"] },
{ "tag": "🇭🇰 香港自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["🇭🇰|HK|hk|香港|港|HongKong"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🇹🇼 台湾自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["台|新北|彰化|TW|Taiwan"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🇯🇵 日本自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan"] }] , "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🇰🇷 韩国自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["KR|Korea|KOR|首尔|韩|韓|春川"] }] , "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🇸🇬 狮城自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["新加坡|坡|狮城|SG|Singapore"] }] , "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🇺🇲 美国自动", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|🇺🇸|US|us|美国|美|United States"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🏆 高级自选", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["香港|港|🇭🇰|HK|hk|Hong Kong|HongKong|hongkong|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan|台|新北|彰化|TW|Taiwan|新加坡|坡|狮城|SG|Singapore|KR|Korea|KOR|首尔|韩|韓|春川"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🔄 AI自选", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include","target": "subscription_tag", "list": "sub_1", "keywords": ["日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan|台|新北|彰化|TW|Taiwan|新加坡|坡|狮城|SG|Singapore|KR|Korea|KOR|首尔|韩|韓|春川"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "🔧 手动切换", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "exclude", "keywords": ["网站|地址|官网|到期|剩余|过期|时间|订阅|有效"] } ] },
{ "tag": "♻️ 自动选择", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "exclude", "keywords": ["网站|地址|官网|到期|剩余|过期|时间|订阅|有效"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "GLOBAL", "type": "selector", "outbounds": ["🏆 高级自选", "♻️ 自动选择", "🔧 手动切换", "🇭🇰 香港自动", "🇹🇼 台湾自动", "🇯🇵 日本自动", "🇰🇷 韩国自动", "🇸🇬 狮城自动", "🇺🇲 美国自动", "🎯 全球直连"] },
{ "tag": "🎯 全球直连", "type": "direct" },
{ "tag": "dns-out", "type": "dns" }
],
"route": {
"auto_detect_interface": true,
"final": "GLOBAL",
"rules": [
{ "type": "logical", "mode": "or", "rules": [{ "port": 53 }, { "protocol": "dns" }], "outbound": "dns-out" },
{ "clash_mode": "direct", "outbound": "🎯 全球直连" },
{ "clash_mode": "global", "outbound": "GLOBAL" },
{ "domain": ["clash.razord.top", "yacd.metacubex.one", "yacd.haishan.me", "d.metacubex.one"], "outbound": "🎯 全球直连" },
{ "ip_is_private": true, "outbound": "🎯 全球直连" },
{ "rule_set": "geosite-microsoft-cn", "outbound": "🪟 微软中国" },
{ "rule_set": ["geosite-xboxdlcn", "geosite-steamcn", "geosite-applecn"], "outbound": "🎯 全球直连" },
{ "rule_set": "geosite-ai", "outbound": "🤖 人工智能" },
{ "rule_set": "geosite-youtube", "outbound": "📹 YouTube" },
{ "rule_set": ["geosite-steam", "geosite-xbox"], "outbound": "🎮 游戏平台" },
{ "rule_set": "geosite-google", "outbound": "🔍 Google" },
{ "rule_set": ["geosite-github", "geosite-telegram", "geosite-tiktok"], "outbound": "🚀 节点选择" },
{ "rule_set": "geosite-geolocation-!cn", "outbound": "🚀 节点选择" },
{ "rule_set": ["geoip-cn", "geosite-cn"], "outbound": "🎯 全球直连" }
],
"rule_set": [
{ "tag": "geosite-ai", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/Toperlock/sing-box-geosite/main/rule/OpenAI.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-youtube", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-steam", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/steam.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-steamcn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/[email protected]", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-xbox", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/xbox.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-xboxdlcn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/DDCHlsq/sing-ruleset/ruleset/xboxdlcn.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-applecn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/[email protected]", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-google", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-github", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-telegram", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-tiktok", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/tiktok.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-microsoft-cn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/[email protected]", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-geolocation-!cn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geoip-cn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs", "download_detour": "🎯 全球直连" },
{ "tag": "geosite-cn", "type": "remote", "format": "binary", "url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs", "download_detour": "🎯 全球直连" }
]
}
}