to: 追加sing-box下发忘记提交的代码

This commit is contained in:
xboard 2024-05-15 01:06:41 +08:00
parent d1eef94e6b
commit ef914283aa

View File

@ -2,16 +2,12 @@
"dns": { "dns": {
"rules": [ "rules": [
{ {
"outbound": [ "outbound": ["any"],
"any"
],
"server": "local" "server": "local"
}, },
{ {
"disable_cache": true, "disable_cache": false,
"geosite": [ "geosite": ["category-ads-all"],
"category-ads-all"
],
"server": "block" "server": "block"
}, },
{ {
@ -87,6 +83,20 @@
} }
], ],
"outbounds": [ "outbounds": [
{
"tag": "节点选择",
"type": "selector",
"default": "自动选择",
"outbounds": ["自动选择"]
},
{ "tag": "direct", "type": "direct" },
{ "tag": "block", "type": "block" },
{ "tag": "dns-out", "type": "dns" },
{
"tag": "自动选择",
"type": "urltest",
"outbounds": []
}
], ],
"route": { "route": {
"auto_detect_interface": true, "auto_detect_interface": true,
@ -108,10 +118,7 @@
"outbound": "节点选择" "outbound": "节点选择"
}, },
{ {
"geoip": [ "geoip": ["cn", "private"],
"cn",
"private"
],
"outbound": "direct" "outbound": "direct"
}, },
{ {