wireguard-windows: client forgets after restart that there was a activated tunnel before and won't activate said tunnel anymore

Jason A. Donenfeld Jason at zx2c4.com
Sun Aug 8 23:08:00 UTC 2021


Hi Denis,

That's a weird issue. Generally the WireGuardTunnel service should
stay installed unless explicitly uninstalled. The UninstallTunnel()
function is called from three places:

1) if you execute wireguard.exe /uninstalltunnelservice [name].
2) If the user presses "deactivate".
3) If the manager quits with "stoponquit", which happens only when the
user right clicks on the tray and presses "exit".

Are you sure that (3) isn't being hit unexpectedly?

Jason


More information about the WireGuard mailing list