mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2025-04-03 19:43:45 +08:00
62 lines
1.2 KiB
JSON
Executable File
62 lines
1.2 KiB
JSON
Executable File
{
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"action": "resolve",
|
|
"strategy": "prefer_ipv4"
|
|
},
|
|
{
|
|
"action": "sniff",
|
|
"timeout": "1s"
|
|
},
|
|
{
|
|
"protocol": "dns",
|
|
"action": "hijack-dns"
|
|
},
|
|
{
|
|
"port": [3478, 5348, 5349],
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"ip_is_private": true,
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"clash_mode": "Direct",
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"clash_mode": "Global",
|
|
"outbound": "default"
|
|
},
|
|
{
|
|
"rule_set": "geosite-google",
|
|
"outbound": "default"
|
|
},
|
|
{
|
|
"rule_set": "geosite-bahamut",
|
|
"outbound": "台湾(TW)"
|
|
},
|
|
{
|
|
"process_path_regex": [
|
|
"^.+/steam/compatibilitytools.d/.+",
|
|
"^.+/steamapps/common/.*"
|
|
],
|
|
"outbound": "direct"
|
|
},
|
|
{
|
|
"rule_set": [
|
|
"geoip-cn",
|
|
"geosite-geolocation-cn",
|
|
"geosite-cn",
|
|
"geosite-category-games@cn",
|
|
"geosite-steam@cn"
|
|
],
|
|
"outbound": "direct"
|
|
}
|
|
],
|
|
"final": "default",
|
|
"auto_detect_interface": true
|
|
}
|
|
}
|