mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
//ShellCrash-ruleset极简规则
|
|
{
|
|
"outbounds": [
|
|
{ "tag": "🚀 节点选择", "type": "selector", "outbounds": [ {providers_tags}, "🎯 本地直连" ], "use_all_providers": true },
|
|
{ "tag": "🎯 本地直连", "type": "direct" }
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{ "ip_is_private": true, "outbound": "🎯 本地直连" },
|
|
{ "rule_set": [ "cn" ], "outbound": "🎯 本地直连" },
|
|
|
|
{ "action": "resolve", "server": "dns_proxy", "strategy": "prefer_ipv4", "match_only": true},
|
|
{ "rule_set": [ "cnip" ], "outbound": "🎯 本地直连" }
|
|
],
|
|
"rule_set": [
|
|
{
|
|
"tag": "cn",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/cn.srs",
|
|
"url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/cn.srs",
|
|
"download_detour": "DIRECT"
|
|
},
|
|
{
|
|
"tag": "cnip",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/cnip.srs",
|
|
"url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/cnip.srs",
|
|
"download_detour": "DIRECT"
|
|
}
|
|
],
|
|
"final": "🚀 节点选择"
|
|
}
|
|
} |