mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-24 13:24:42 -05:00
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
|
{
|
||
|
"dns": {
|
||
|
"servers": [
|
||
|
{
|
||
|
"tag": "google",
|
||
|
"address": "tls://8.8.8.8",
|
||
|
"detour": "default"
|
||
|
},
|
||
|
{
|
||
|
"tag": "local",
|
||
|
"address": "https://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": "local",
|
||
|
"disable_cache": false,
|
||
|
"disable_expire": false
|
||
|
}
|
||
|
}
|