Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL2 September 2023 allows for Mirrored Networking Mode #253

Open
asaf400 opened this issue Jan 8, 2024 · 4 comments
Open

WSL2 September 2023 allows for Mirrored Networking Mode #253

asaf400 opened this issue Jan 8, 2024 · 4 comments

Comments

@asaf400
Copy link

asaf400 commented Jan 8, 2024

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..

@hotchkj
Copy link

hotchkj commented Jan 10, 2024

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.

@terlar
Copy link

terlar commented Jan 22, 2024

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.

@K2ouMais
Copy link

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.

@MichaelKorn
Copy link

I also had some hope to use networkingMode=mirrored, but it does not work if the IPv6 stack is disabled. (microsoft/WSL#11002)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants