-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSL unable to talk to internet after VPN connection (NOT DNS) #4289
Comments
If you're still experiencing this issue, please upgrade to the latest build and try it again. Then if you are still seeing this problem after that please collect networking logs for us (instructions here) and post a comment on this thread with a link to the logs so we can easily go find them. Thank you! |
I also have this problem. Feedback reported here with logs: https://aka.ms/AA6fthe |
Me too. |
Replacing the SSL VPN client from Cisco AnyConnect to OpenConnect worked for a colleague. |
Same issue here, with latest versions |
Here's a submission of this failing easily: ping works in WSL 2 w/o VPN, nothing after enabling VPN. VPN is CiscoAnyConnect provided by corporate. Share link: https://aka.ms/AA97xj7 |
Anyone finding themselves here should check the workarounds in #4277, specifically the one that implements a triggered task to change the interface metric of the VPN adapter created routes |
Closing because there are other better issues out there that explain this situation #4289 (comment) |
Please fill out the below information:
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.557]
What you're doing and what's happening:
I am able to reach the internet on WSL without issue. When I connect to a VPN (This has happened to me on multiple windows versions across multiple PCs) I can no longer route traffic to the internet. The VPN is
Cisco AnyConnect Secure Mobility Client
, but it has happened with OpenVPN too in the past. This does not happen to my co-worker who has the same laptop with the same managed OS from the same company.I also want to be clear this is not a DNS issue as is commonly reported with VPN on WSL. An example of proof is that
ping 8.8.8.8
along with any other internet addresses is failing, as well as any other attempt to connect to an external internet address. Traffic to VPN internal addresses still works.What's wrong / what should be happening instead:
Traffic should still be able to take an appropriate path (Whether through the vpn interface or wifi interface) to the internet.
Strace of the failing command, if applicable: https://gist.github.com/jwitko/878e6905dc2130555201f3cdedc5ad9c
Some verbose curl examples:
before vpn
after vpn
Note: This actually says connection refused, which is interesting. It takes a very long time to get there so I'm somewhat suspicious this isn't a bug in that it should actually say attempt timed out.
route table:
eth2 being the VPN interface.
The text was updated successfully, but these errors were encountered: