celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.91k stars 147 forks source link

Round robin load balancing for WireGuard in Simple mode #1683

Open XingShelly opened 1 month ago

XingShelly commented 1 month ago

I was thinking of having one connection to one proxy at any given time and then when it fails, it just switches automatically to a random proxy from the unactivated proxy list and tries to connecting to one of them until it succeeds

I believe this is even more important in simple mode.

expl I think this is different from the solution you suggested For three reasons: 1- In the advanced mode, you are not allowed to use the wire guard DNS, which is a huge big deal for me. As it prevents the user from standing out for using a different DNS provider. 2-This only works for proxies you have specifically defined to run with always on option turned on. In this case, you'll literally have to define all proxies you have as always on for this to work. If you have a big list and if you just want to use all of them, you cannot do that without going to each one of them and enabling them manually, which is not ideal. 3- You have to connect to many proxies at the same time. This will not only make traffic coming out of your device weird because you're connecting to so many proxies at the same time, but it will also hinder your ability to use the device because most VPN providers will not allow more than a couple of connections at the same time, which means it is impossible to do this with a large list. And this is very different from what I had in mind.

Originally posted by @XingShelly in https://github.com/celzero/rethink-app/issues/1670#issuecomment-2330419520

XingShelly commented 1 month ago

I'm sorry, I did not find the option to reopen it, so I just referenced it as a new issue.