不是很懂,不知道这样写可不可以
{
"log": {},
"dns": {
"strategy": "prefer_ipv4",
"servers": [
{
"tag": "local-dns",
"address": "https://localhost:8443/dns-query",
"detour": "direct"
}
],
"rules": []
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in"
}
],
"outbounds": [
{
"type": "vless",
"tag": "vless-jp"
},
{
"type": "ss",
"tag": "ss-go-home"
},
{
"type": "ss",
"tag": "ss-ru"
},
{
"type": "dns",
"tag": "dns-out"
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "block",
"tag": "block"
}
],
"route": {
"final": "direct",
"rules": [
{
"type": "logical",
"mode": "or",
"rules": [
{
"port": 53
},
{
"protocol": "dns"
}
],
"outbound": "dns-out"
},
{
"source_ip_cidr": [
"192.168.0.0/16",
"fd00:1234::/64"
],
"outbound": "ss-go-home"
},
{
"ip_cidr": [
"5.189.200.0/24"
],
"outbound": "ss-ru"
},
{
"rule_set": "geoip-cn",
"invert": true,
"outbound": "vless-jp"
}
],
"rule_set": [
{
"tag": "geoip-cn",
"url": "https://xxxx/sing-geoip/rule-set/geoip-cn.srs"
}
]
}
}