3 ms·
In general, yes. One weird quirk: networking can be peculiar. Windows creates a magic bridging between the host and WSL, and as anything magic, it can break fo
by makeitdouble 2y ago
In general, yes.
One weird quirk: networking can be peculiar. Windows creates a magic bridging between the host and WSL, and as anything magic, it can break for specific use cases.
VPN is one [0]: my WSL instances lose outgoing networking when connecting to our company VPN. There are workarounds but none are trivial.
[0] https://superuser.com/questions/1715764/wsl2-has-no-connectivity-when-windows-is-connected-to-vpn https://superuser.com/questions/1715764/wsl2-has-no-connecti...
- tonymet 2y agoGood to know. My vpn works but I believe it’s wireguard-based. I wonder if yours is TUN/TAP or another driver
- makeitdouble 2y agoIt seems to be TAP (layer 2 tunneling) Thinking about it, as the whole machine is under MDM (I only have the VPN on my dedicated work machine), there might be additional quirks that mess with the networking as well. Even bridging the Wi-fi to it was kind of a PITA.
- k8sToGo 2y agoThis has been fixed for many months now as you can switch between different networking types for WSL. https://learn.microsoft.com/en-us/windows/wsl/networking#mirrored-mode-networking https://learn.microsoft.com/en-us/windows/wsl/networking#mir...