-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_tproxy.json
130 lines (124 loc) Β· 11 KB
/
config_tproxy.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"log": {
"disabled": false,
"level": "info",
"timestamp": true
},
"experimental": {
"clash_api": {
"external_controller": "0.0.0.0:9095",
"external_ui": "/etc/sing-box/ui",
"secret": "",
"external_ui_download_url": "https://git.zzjnb.fun/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"external_ui_download_detour": "π θηΉιζ©",
"default_mode": "rule"
},
"cache_file": {
"enabled": true,
"path": "/etc/sing-box/cache.db",
"store_fakeip": false
}
},
"dns": {
"servers": [
{"tag": "proxyDns", "address": "https://d625814960.666.66a.net/dns-query/h625814960", "address_resolver": "defaultDns", "address_strategy": "ipv4_only", "detour": "π θηΉιζ©"},
{"tag": "localDns", "address": "223.5.5.5", "address_resolver": "defaultDns", "address_strategy": "ipv4_only", "detour": "π― ε
¨ηη΄θΏ"},
{"tag": "defaultDns", "address": "223.5.5.5", "address_strategy": "ipv4_only", "detour": "π― ε
¨ηη΄θΏ"}
],
"rules": [
{ "outbound": "any", "server": "defaultDns", "disable_cache": true },
{ "clash_mode": "direct", "server": "localDns" },
{ "clash_mode": "global", "server": "proxyDns" },
{ "rule_set": "geosite-cn", "server": "localDns" },
{ "rule_set": "geosite-geolocation-!cn", "server": "proxyDns" }
],
"final": "localDns",
"strategy": "ipv4_only"
},
"inbounds": [
{
"type": "tproxy",
"tag": "tproxy-in",
"listen": "0.0.0.0",
"listen_port": 7895,
"sniff": true,
"sniff_override_destination": false
},
{
"type": "mixed",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true,
"users": []
}
],
"outbounds": [
{ "tag": "π θηΉιζ©", "type": "selector", "outbounds": ["π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’", "β»οΈ θͺε¨ιζ©", "π― ε
¨ηη΄θΏ"] },
{ "tag": "πΉ YouTube", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π€ OpenAI", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π Google", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π¨βπ» Github", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "πͺ Microsoft", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "π― ε
¨ηη΄θΏ"] },
{ "tag": "π¬ OneDrive", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π΅ TikTok", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π₯ Netflix", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π² Telegram", "type": "selector", "outbounds": ["π θηΉιζ©", "β»οΈ θͺε¨ιζ©", "π― ι¦ζΈ―θͺε¨", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ", "πΈ ζε¨εζ’"] },
{ "tag": "π Apple", "type": "selector", "outbounds": ["π― ε
¨ηη΄θΏ", "ππ° ι¦ζΈ―θηΉ", "πΊπ² ηΎε½θηΉ"] },
{ "tag": "π ζΌη½δΉι±Ό", "type": "selector", "outbounds": ["π θηΉιζ©","π― ε
¨ηη΄θΏ"] },
{ "tag": "πΈ ζε¨εζ’", "type": "selector", "outbounds": ["{all}"]},
{ "tag": "ππ° ι¦ζΈ―θηΉ", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["ππ°|HK|hk|ι¦ζΈ―|ζΈ―|HongKong"] }] },
{ "tag": "πΊπ² ηΎε½θηΉ", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["πΊπΈ|US|us|ηΎε½|ηΎ|United States"] }, { "action": "exclude", "keywords": ["ι¦ζΈ―|ζΈ―|HK|hk|HongKong"] }] },
{ "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": ["{all}"]},
{ "tag": "π― ε
¨ηη΄θΏ", "type": "direct" },
{ "tag": "dns-out", "type": "dns" }
],
"route": {
"auto_detect_interface": true,
"final": "π ζΌη½δΉι±Ό",
"default_mark": 666,
"rules": [
{ "type": "logical", "mode": "or", "rules": [{ "port": 53 }, { "protocol": "dns" }], "outbound": "dns-out" },
{ "clash_mode": "direct", "outbound": "π― ε
¨ηη΄θΏ" },
{ "source_ip_cidr": "192.168.2.12", "outbound": "π― ε
¨ηη΄θΏ" },
{ "ip_cidr": ["10.0.0.1/8", "172.16.0.0/12", "192.168.0.0/16"], "outbound": "π― ε
¨ηη΄θΏ" },
{ "clash_mode": "global", "outbound": "GLOBAL" },
{ "domain": ["clash.razord.top", "yacd.metacubex.one", "yacd.haishan.me", "d.metacubex.one", "v4.plex.tv"], "outbound": "π― ε
¨ηη΄θΏ" },
{ "domain_suffix": "zzjnb.fun", "outbound": "π― ε
¨ηη΄θΏ" },
{ "rule_set": ["geosite-private", "geoip-private"], "outbound": "π― ε
¨ηη΄θΏ" },
{ "rule_set": "geosite-chat", "outbound": "π€ OpenAI" },
{ "rule_set": "geosite-github", "outbound": "π¨βπ» Github" },
{ "rule_set": "geosite-youtube", "outbound": "πΉ YouTube" },
{ "rule_set": "geosite-onedrive", "outbound": "π¬ OneDrive" },
{ "rule_set": "geosite-microsoft", "outbound": "πͺ Microsoft" },
{ "rule_set": ["geoip-google", "geosite-google"], "outbound": "π Google" },
{ "rule_set": "geosite-tiktok", "outbound": "π΅ TikTok" },
{ "rule_set": ["geoip-apple", "geosite-apple"], "outbound": "π Apple" },
{ "rule_set": ["geoip-netflix", "geosite-netflix"], "outbound": "π₯ Netflix" },
{ "rule_set": ["geoip-telegram", "geosite-telegram"], "outbound": "π² Telegram" },
{ "rule_set": "geosite-geolocation-!cn", "outbound": "π θηΉιζ©" },
{ "rule_set": ["geoip-cn", "geosite-cn"], "outbound": "π― ε
¨ηη΄θΏ" }
],
"rule_set": [
{ "tag": "geosite-chat", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-ai-chat-!cn.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-youtube", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-google", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-github", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-telegram", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-tiktok", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/tiktok.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-netflix", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/netflix.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-apple", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-microsoft", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-onedrive", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/onedrive.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-geolocation-!cn", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-cn", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geosite-private", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/private.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-google", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-telegram", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-netflix", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/netflix.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-apple", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geoip/apple.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-cn", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs", "download_detour": "π― ε
¨ηη΄θΏ" },
{ "tag": "geoip-private", "type": "remote", "format": "binary", "url": "https://git.zzjnb.fun/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs", "download_detour": "π― ε
¨ηη΄θΏ" }
]
}
}