wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Bugs in MacOS client: Infinite reconnect when using on-demand and switching user; missing reconnect feature
@ 2023-11-06 18:43 Erik Schulz
  0 siblings, 0 replies; only message in thread
From: Erik Schulz @ 2023-11-06 18:43 UTC (permalink / raw)
  To: wireguard

I'm using the MacOS App Store client,
App version: 1.0.16 (27)
Go backend version: 1e2c3e5a

I use multiple users and switch between them.

a)
When logged in as user A, which has the tunnel set up, and Wireguard running,
when switching to user B, Wireguard disconnects the tunnel.
As user B, trying to switch on the tunnel in Settings > VPN, fails.
I'm guessing this is unavoidable, and a security feature of the OS,
but if not, it would be nice to have a configuration option to allow
the tunnel to continue to operate.

b)
when having "On-Demand" enabled for ethernet and wifi,
When switching to user B, the Settings > VPN seems to be in an
infinite loop, switching on/off. I'm guessing that Wireguard (running
in user A) is trying to establish the tunnel, but failing. I'm
guessing that there is a bug in the retry/wait logic for On-Demand.
This causes high cpu load.
This means that I'm unable to use "On-Demand".

c)
Instead of On-Demand, it would be nice to automatically reconnect when
switching back to user A.
Currently I have to enable it manually each time I switch to user A.
Could the app remember that the connection was active before user
switch, and when switching back, automatically reconnect?

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-19 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 18:43 Bugs in MacOS client: Infinite reconnect when using on-demand and switching user; missing reconnect feature Erik Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).