|
就是如下这样,加了三个uuid,结果都走第一个出口
{
"log": {
"loglevel": "debug"
},
"inbounds": [
{
"port": 12345,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "5783a3e7-e373-51cd-8642-c83782b807c5"
},
{
"id": "6783a3e7-e373-51cd-8642-c83782b8aacc"
},
{
"id": "9783a3e7-e373-51cd-8642-c83782bvvcc"
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/wsss"
}
}
}
],
"outbounds": [
{
"tag": "wireguard-1",
"protocol": "wireguard",
"settings": {
"secretKey": "aaaaaccccccc",
"address": [
"10.14.0.2/32"
],
"peers": [
{
"publicKey": "bbbbbbcccc=",
"endpoint": "xxxxxx:51820"
}
]
}
},
{
"tag": "wireguard-2",
"protocol": "wireguard",
"settings": {
"secretKey": "bbbbbbooo",
"address": [
"10.14.0.3/32"
],
"peers": [
{
"publicKey": "aaaaaaaa=",
"endpoint": "oooooxxx:51820"
}
]
}
},
{
"tag": "direct",
"protocol": "freedom"
}
],
"routing": {
"rules": [
{
"type": "field",
"user": [
"5783a3e7-e373-51cd-8642-c83782b807c5"
],
"outboundTag": "wireguard-1"
},
{
"type": "field",
"user": [
"6783a3e7-e373-51cd-8642-c83782b8aacc"
],
"outboundTag": "wireguard-2"
},
{
"type": "field",
"user": [
"9783a3e7-e373-51cd-8642-c83782bvvcc"
],
"outboundTag": "direct"
}
]
}
} |
|