mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-24 12:24:41 -05:00
54 lines
1002 B
JSON
54 lines
1002 B
JSON
{
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"type": "logical",
|
|
"mode": "or",
|
|
"rules": [
|
|
{
|
|
"protocol": "dns"
|
|
},
|
|
{
|
|
"port": 53
|
|
}
|
|
],
|
|
"outbound": "dns"
|
|
},
|
|
{
|
|
"ip_is_private": true,
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"clash_mode": "Direct",
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"clash_mode": "Global",
|
|
"outbound": "default"
|
|
},
|
|
{
|
|
"rule_set": "geosite-google",
|
|
"outbound": "default"
|
|
},
|
|
{
|
|
"type": "logical",
|
|
"mode": "or",
|
|
"rules": [
|
|
{
|
|
"rule_set": [
|
|
"geoip-cn",
|
|
"geosite-geolocation-cn",
|
|
"geosite-cn",
|
|
"geosite-category-games@cn",
|
|
"geosite-steam@cn"
|
|
]
|
|
}
|
|
],
|
|
"outbound": "direct"
|
|
}
|
|
],
|
|
"final": "default",
|
|
"auto_detect_interface": true
|
|
}
|
|
}
|