load balancing for wireguard outbounds
Integrity requirements
- [X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- [X] I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
- [X] I searched issues and did not find any similar issues.
Version
1.8.10
Description
I have three WireGuard configurations that I have used as outbounds. I have tried using the LeastPing load balancer, but it seems my traffic does not go through WireGuard and goes directly instead.
Reproduction Method
"balancers": [ { "tag": "windsbal", "selector": [ "man1", "down2", "disp1" ], "strategy": { "type": "leastPing" } } ] }, "stats": {}, "observatory": { "subjectSelector": [ "windsbal" ], "probeURL": "http://www.google.com/gen_204", "probeInterval": "10m", "enableConcurrency": true } }
Client config
"balancers": [
{
"tag": "windsbal",
"selector": [
"manchester",
"custard",
"biscutis"
],
"strategy": {
"type": "leastPing"
}
}
]
},
"stats": {},
"observatory": {
"subjectSelector": [
"windsbal"
],
"probeURL": "http://www.google.com/gen_204",
"probeInterval": "10m",
"enableConcurrency": true
}
}
Server config
"balancers": [
{
"tag": "windsbal",
"selector": [
"manchester",
"custard",
"biscutis"
],
"strategy": {
"type": "leastPing"
}
}
]
},
"stats": {},
"observatory": {
"subjectSelector": [
"windsbal"
],
"probeURL": "http://www.google.com/gen_204",
"probeInterval": "10m",
"enableConcurrency": true
}
}
Client log
nothing
Server log
nothing
I provided the complete config and logs
There is nothing abnormal in my logs and configs. The balancer works correctly when I'm using Round-robin but, when I'm changing it to Leastping it is not working.
1.8.10
看到就头痛,@Fangliding issue 模板加一个必须针对最新版,但可以测试旧版有无问题
那我把version去掉加一个打钩的好了
same issue.