wsl-vpnkit icon indicating copy to clipboard operation
wsl-vpnkit copied to clipboard

WSL2 September 2023 allows for Mirrored Networking Mode

Open asaf400 opened this issue 7 months ago • 3 comments

In the recent update post from WSL: https://devblogs.microsoft.com/commandline/windows-subsystem-for-linux-september-2023-update/

One of the new features is New Networking Mode – Mirrored among the notes about the feature:

Here are the current benefits to enabling this mode:
-     IPv6 support
-     Connect to Windows servers from within Linux using the localhost address 127.0.0.1
-     Connect to WSL directly from your local area network (LAN)
-     Improved networking compatibility for VPNs
-     Multicast support

I would ask to maybe also mention that in the README of this repo, since this new networking mode, may have made wsl-vpnkit obsolete..

Don't get me wrong, this Repo is amazing, it allowed me and many other WSL2 enthusiasts to use VPNs within WSL, Without it I couldn't have worked efficiently for the last 2 years, so kudos to that ! 🎉

I'm just saying this new thing might be a good working alternative, so maybe it deserves a mention in order to spread the news..

asaf400 avatar Jan 08 '24 18:01 asaf400

You do also have to have Windows 11, version 22H2, build 255xx and above; I'm finding this still incredibly valuable on Windows 10 with a few of the PRed fixes applied.

hotchkj avatar Jan 10 '24 13:01 hotchkj

The new networkingMode=mirrored is not guaranteed to work with all VPN:s. I am currently using it, but still have to use wsl-vpnkit to get the connectivity working.

terlar avatar Jan 22 '24 10:01 terlar

And networkingMode=mirrored ist still only for Windows 11.

I am still on Windows 10, so I have to use vpn-wslkit, wich still works really good.

K2ouMais avatar Feb 21 '24 07:02 K2ouMais