-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshan-config_tun_niubi.json
141 lines (134 loc) ยท 12.8 KB
/
shan-config_tun_niubi.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
131
132
133
134
135
136
137
138
139
140
141
{
"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://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://dns.google/dns-query", "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": "tun",
"address": "172.19.0.1/30",
"mtu": 9000,
"auto_route": true,
"sniff": true,
"stack": "system",
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
}
},
{
"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"] }, { "action": "exclude", "keywords": ["IPv6|-IPv6"] }] },
{ "tag": "๐น๐ผ ๅฐๆนพ่็น", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐น๐ผ|TW|tw|ๅฐๆนพ|ๅฐ|Taiwan|taiwan|TaiWan"] }] },
{ "tag": "๐ธ๐ฌ ๆฐๅ ๅก่็น", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐ธ๐ฌ|SG|ๆฐๅ ๅก|ๆฐ|็ฎๅ|singapore|Singapore"] }, { "action": "exclude", "keywords": ["ๅปบ่ฎฎ|ๆฏๆฌกไฝฟ็จ"] }] },
{ "tag": "๐ฏ๐ต ๆฅๆฌ่็น", "type": "selector", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐ฏ๐ต|JP|jp|ๆฅๆฌ|ๆฅ|Japan"] }] },
{ "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": "include", "keywords": ["๐ญ๐ฐ|HK|hk|้ฆๆธฏ|ๆธฏ|HongKong"] }, { "action": "exclude", "keywords": ["IPv6|-IPv6"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "๐ฏ ๆฅๆฌ่ชๅจ", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐ฏ๐ต|JP|jp|ๆฅๆฌ|ๆฅ|Japan"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "๐ฏ ๆฐๅ ๅก่ชๅจ", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐ธ๐ฌ|SG|ๆฐๅ ๅก|ๆฐ|็ฎๅ|singapore|Singapore"] }, { "action": "exclude", "keywords": ["ๅปบ่ฎฎ|ๆฏๆฌกไฝฟ็จ"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "๐ฏ ๅฐๆนพ่ชๅจ", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "include", "keywords": ["๐น๐ผ|tw|ๅฐๆนพ|ๅฐ|Taiwan|taiwan|TaiWan"] }], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 },
{ "tag": "โป๏ธ ่ชๅจ้ๆฉ", "type": "urltest", "outbounds": ["{all}"], "filter": [{ "action": "exclude", "keywords": ["IPv6|-IPv6|ๅปบ่ฎฎ|ๆฏๆฌกไฝฟ็จ|็ฝ็ซ|ๅฐๅ|ๅฉไฝ|่ฟๆ|ๆถ้ด|ๆๆ"] }], "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": "๐ ๆผ็ฝไน้ฑผ",
"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": "๐ฏ ๅ
จ็็ด่ฟ" },
{ "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://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://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-google", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-github", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-telegram", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-tiktok", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/tiktok.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-netflix", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/netflix.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-apple", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-microsoft", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-onedrive", "type": "remote", "format": "binary", "url": "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://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geosite-private", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/private.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geoip-google", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geoip-telegram", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geoip-netflix", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/netflix.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geoip-apple", "type": "remote", "format": "binary", "url": "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://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs", "download_detour": "๐ ่็น้ๆฉ" },
{ "tag": "geoip-private", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/private.srs", "download_detour": "๐ ่็น้ๆฉ" }
]
}
}