Load balance same app across multiple active WireGuards
This is unrelated to my last query in any way . I've noticed that my proxy goes to "idle" even when I'm using internet actively (blocks internet till I change my proxy or re-add my apps to it) , Proxy settings - On Always on + Lockdown mode . This did not happen on older rethink versions . I got an idea after witnessing this - Firstly If possible fix this in upcoming versions and the idea I got was : Add a feature to automatically let user choose some proxies out of the list and then let user to choose some apps per proxy (apps will not change or kind of pre-assign apps when that proxy becomes active) and then automatically rotate between those proxies at random or let user set custom rules on when will a certain proxy become active like custom hours (like automatically between 6 and 8 and only with these certain apps) or a set custom time limit (like after a proxy has been active for more than 30 minutes , The apps in that proxy will be router from another proxy that you can predefine) [With always on + lockdown mode on at all times so that no IP leaks occur] , Is this possible ?
Time-based / upload+download based de/activation is something we could easily implement; but I doubt the need for such a feature. Track here: https://github.com/celzero/rethink-app/issues/2401
user to choose some apps per proxy (apps will not change or kind of pre-assign apps when that proxy becomes active) and then automatically rotate between those proxies at random
Already implemented in v055o+ versions for Always-on Advance mode WireGuard:
- #1477
[With always on + lockdown mode on at all times so that no IP leaks occur] , Is this possible ?
In the upcoming version, v055v, we'll implement load balancing apps across all Advance mode WireGuards, too (and allow adding the same app across multiple Advance mode WireGuards).
load balancing apps across all Advance mode WireGuards was much needed , Thanks for that . If possible can you help me regarding "idle" problem in proxies ? As I have noticed it , It is not based on limitations of proxy or the provider and its not because of server load on proxy either . In current version of rethink - Simply clicking edit and save that proxy (while its active [idle] , without changing any settings) can fix it for some time . Rethink is already on "Do not optimise in battery settings" - Oxygen OS16 . While idle helps while I'm offline but it also seems like a persistent issue for many users as stated by Grok 4.1 : Your issue — where the proxy in RethinkDNS (likely a WireGuard or SOCKS5 proxy) goes "idle" after active internet use, but editing/saving the proxy settings (without changes) temporarily revives it — is a known intermittent problem in RethinkDNS, especially with Always-on VPN + Lockdown mode ("Block connections without VPN") enabled. Users report similar behavior: the tunnel stalls or drops during active sessions (or after idling), and restarting the app/proxy or re-saving config fixes it temporarily. Recent versions (055+ series) include several fixes for WireGuard connectivity, lockdown-mode stalls, and network handling, but some edge cases persist depending on device OEM (e.g., aggressive battery optimizations on Samsung/Xiaomi), Android version, or network changes.
Idle is merely WireGuard going silent. It has nothing to do with it being in error state or dropping packets or connections timing out. Idling is a pretty natural state for WireGuard to return to after a period of inactivity (~2mins). This is one of the ways WireGuard is more efficient than other VPN protocols.
I see , The fault was mine , I didn't realise that the timeout was just 2 mins , Is there any way to increase this manually ? While I'm streaming it happens quite often : Like even on 4K , It preloads a lot of content and then go to idle state but when its time I catch up to the preloaded content , It buffers and buffers continuously and does not return to active state from idle automatically many times (It does return some times but not always and that causes me to go and manually fix that which is quite annoying)
Edit : Nevermind that , I found persistent keep alive option , Thanks again rethink , I'm fully satisfied with this query .
I see , The fault was mine , I didn't realise that the timeout was just 2 mins , Is there any way to increase this manually ?
Yes, with the Persistent Keep Alive option, but it isn't recommended to use on Mobile. May be, we can bring in a new per-WireGuard setting (as if existing Settings weren't enough ;) that keeps WireGuard from idling for next X/Y hours: https://github.com/celzero/rethink-app/issues/2412