Routing to local network when always-on #996
Replies: 1 comment 2 replies
-
|
Hello! Unfortunately, this is an annoying Android limitation. The best way to solve this would be to use the auto tunnel feature and add your network as a trusted network so auto tunnel brings down the tunnel when you connect to this network. The downside is you would also have to disable the native AndroidOS kill switch (if you're using it). If you still want kill switch capabilities, I would recommend using WG Tunnel's Lockdown mode + LAN bypass (if you have local services you would like to access) and set a different tunnel to be used on this network (remove it from trusted). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I have the tunnel to my LAN activated even when I am connected to said LAN's WiFi (i.e. an always-on configuration), my phone seems to use the WG tunnel to reach hosts on the local network. As a seasoned (retired even) network engineer I find this odd.
Typically when a host has a route to a network through a network path as well as a route to a network through a locally attached interface, it should prefer the route via the attached interface.
If WGTunnel were to do this, an always-on tunnel would simply ignore the path to the WG peer when connected to the local network, eliminating any load (or more importantly, firewalling requirements) on the gateway/WG peer and making the tunnel a NOOP.
Maybe
metrics are needed for Android to effect this?Beta Was this translation helpful? Give feedback.
All reactions