WSL with Outline VPN does not connect

Hi, so my WSL does not connect anywhere when I use Outline VPN. I tried a million things, but it seems that this explanation is closer to the truth -

https://github.com/microsoft/WSL/issues/2884#issuecomment-932483876

This issue seems to also have the same cause as the other issue - that I cannot manage local wifi devices when connected to VPN (chromecast, sonos).

Is it possible to change the admin settings on the server to allow for the local LAN connections?
Or maybe someone knows another fix?

try disable then enable the virtual network switch

YMMV, but this was solved for me by changing the `Networking Mode` (WSL Settings → Networking → Networking mode) to `VirtioProxy`

There are generally issues with many VPNs and WSL.See this old issue here:

https://github.com/microsoft/WSL/issues/5068

Any workaround will likely be for the spesifc VPN software you run. But there are currently no universal fixes afaik.

You could try out the workaround like the one for Any Connect found here.
https://stackoverflow.com/questions/66444822/wsl-2-dns-is-not-working-with-vpn-connection-on-win-10

this also works for me: disable wsl network interface, connect to vpn, enable wsl network interface. There are more complex solutions aorund with vpnkit, didn’t try yet.