-
Notifications
You must be signed in to change notification settings - Fork 170
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
How does WSL2 2.0.0 interact with wsl-vpnkit? #240
Comments
Would love to know as well, and also whether some of the features mentioned there obviate the need for wsl-vpnkit? (If we're using wsl-vpnkit to work with corporate firewalls) There's a blog post with some extra information here: https://devblogs.microsoft.com/commandline/windows-subsystem-for-linux-september-2023-update/ |
Hi @sakai135 , I'm the product manager for WSL and I'd be interested in making sure that wsl-vpnkit keeps working great with the new networking additions! Please let me know if you'd like to grab some time to chat about this. You can email me at craig.loewen at microsoft dot com (Garbled it so it doesn't get picked up by bots :) ) |
I have upgraded to wsl 2.0 and it works with wsl-vpnkit. I am using wsl-vpnkit 2.x, and turns off dnsTunneling in wslconfig.
|
I was hoping the experimental features would remove the need for wsl-vpnkit (as solid as it is) when working with a corporate VPN. Unfortunately, we aren't on the dev version of Windows 11 to test such things. |
I no longer need to use wsl-vpnkit when running WSL 2.0.x on Windows 11, September 2023 release, with |
using a VPN? |
I just upgraded to WSL 2.0.2 and can confirm @kmj251 statement that WSL network connectivity works when connected to the VPN |
We use a Zero Trust networking solution. So while it's similar to a VPN, it's not exactly the same thing. |
Fwiw - WSL 2.0 works with wsl-vpnkit (on Windows 10) Again, I'm not using the experimental features which aren't compatible with 10 |
@craigloewen-msft - After upgrading to 2.0.5, wsl-vpnkit no longer works. Same with 2.0.6, upgraded this morning. |
@craigloewen-msft - Did an uninstall (back to whatever the base version of Windows) and upgraded to 1.2.5.0 Wsl-vpnproxy works now. Something definitely up with 2.0.5 and above |
@blakeduffey we turned on Hyper-V firewall by default in that latest build and perhaps this is affecting you. Could you try upgrading back to 2.0.6 and then adding this content to your
And if the problem persists with that, can you please file an issue at the WSL GitHub repo? |
Will do! |
Verified that wsl-vpnkit does NOT work with 2.0.9.0 |
@sakai135 - hoping you can comment on this. wsl-vpnkit does not seem to work with versions of wsl above 2.0.4. Please allow see microsoft/WSL#10681 (comment) |
Hey @craigloewen-msft , might this be related to a change in the runlevel of wsl between 1.2.5 and 2.0.9? We have an vpnkit inspired by this project that calls vpnkit via the boot command:
As you can see, the |
@craigloewen-msft - please see latest updates to #246 also |
I noticed WSL2 2.0.0 was released ( https://github.com/microsoft/WSL/releases/tag/2.0.0 ), the release notes do mention some VPN-related things.
I've been using, and loving, wsl-vpnkit, so I don't know if this new functionality could replace, or break, wsl-vpnkit, and I'm afraid to install 2.0.0 in case I end up with nothing!
If anyone else tries the update, I'd be interested to know the results.
The text was updated successfully, but these errors were encountered: