mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 15:24:42 -05:00
61 lines
1.2 KiB
JSON
Executable File
61 lines
1.2 KiB
JSON
Executable File
{
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"tag": "google",
|
|
"address": "https://8.8.8.8/dns-query",
|
|
"detour": "default"
|
|
},
|
|
{
|
|
"tag": "local",
|
|
"address": "h3://223.5.5.5/dns-query",
|
|
"detour": "direct"
|
|
},
|
|
{
|
|
"tag": "refused",
|
|
"address": "rcode://refused"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"rule_set": "geosite-category-ads-all",
|
|
"server": "refused"
|
|
},
|
|
{
|
|
"outbound": "any",
|
|
"server": "local"
|
|
},
|
|
{
|
|
"clash_mode": "Direct",
|
|
"server": "local"
|
|
},
|
|
{
|
|
"clash_mode": "Global",
|
|
"server": "google"
|
|
},
|
|
{
|
|
"rule_set": "geosite-geolocation-cn",
|
|
"server": "local"
|
|
},
|
|
{
|
|
"type": "logical",
|
|
"mode": "and",
|
|
"rules": [
|
|
{
|
|
"rule_set": "geosite-geolocation-!cn",
|
|
"invert": true
|
|
},
|
|
{
|
|
"rule_set": "geoip-cn"
|
|
}
|
|
],
|
|
"server": "google",
|
|
"client_subnet": "114.114.114.114/24"
|
|
}
|
|
],
|
|
"final": "google",
|
|
"disable_cache": false,
|
|
"disable_expire": false
|
|
}
|
|
}
|