You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I'm not sure I'm understanding the bug here. What is the bug?
When mobile data and wifi are disabled, why is VPN active? I would assume that the VPN connection terminates when there is no way to connect to the internet.
Wireguard uses UDP and is stateless. Because there is no persistent connection to the server, it does not care whether or not you are online or offline. The tunnel interface will stay active and will start working again once you come back online. This is nice because it prevents leaks. What I can do is add an additional option to auto tunneling that will disable the tunnel when you are offline if you wish for that to be the behavior.
I use Xiaomi Poco X3 Pro, android 11, userspace and try wg tunnel 3.6.1.
As you see in the screenshots, it is possible to have VPN activated or inactivated when there is no WiFi and mobile data connection.
Do I understand correctly that the VPN connection should actually be closed? Or have I possibly configured something incorrectly?
I tried a restart of my smartphone, but the issue is reproducable.
Do I have to delete the original wireguard app? It is not running and not set to autostart, but wg tunnel is.
The text was updated successfully, but these errors were encountered: