[WSL2] Checkpoint VPN breaks network connectivity
(I've searched the open issues, and none that I could find were exactly the same)
Windows 10.0.18922.1000
I just installed Windows Insiders, and updated my Ubuntu distro to WSL2. It can no longer access the Internet.
From the Ubuntu bash prompt: ping github.com doesn't work (100% packet loss); ping 8.8.8.8 is the same.
/etc/resolv.conf gives nameserver 192.168.115.225. ping 192.168.115.225 doesn't work.
My Ubuntu distro has IP 192.168.115.230; I can ping that from Ubuntu.
The Windows IP address is 192.168.115.225, and I can ping it from PowerShell. Pinging the Ubuntu distro's IP (192.168.115.230) also works, from PowerShell.
Inside Ubuntu, route -n reports:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.115.225 0.0.0.0 UG 0 0 0 eth0
192.168.115.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
I'm using a Surface Go, Windows 10 Pro, connected to the Internet over Wifi.
I might have some left-over detritus from when I attempted to get a Hyper-V VM connecting via Wifi. That was prior to upgrading to Windows Insiders. I don't know how much of that Hyper-V networking infrastructure is shared, and I don't know how to debug that.
I attempted to convert the distro back to WSL 1, but it failed with The network connection was aborted by the local system.
Oh, it might be worth noting that I've got Checkpoint VPN software (not active), Wireshark (i.e. npcap) and NordVPN (also not active) installed. I don't know whether any of those will break anything.
Uninstalling NordVPN does not fix the problem.
The Checkpoint VPN software seems to be responsible for screwing it up. Uninstalling it fixes the problem.
Unfortunately (sigh), I have to have this software installed, so it looks like I'm going to have to uninstall Windows Insiders.
Any chance you could work with Check Point to get this resolved?
So, interestingly enough, uninstalling and reinstalling the Checkpoint VPN software appears to fix the problem.
(title updated to true cause of problem)
FWIW I've experienced what sounds like a similar issue, and I don't use Checkpoint VPN. I notice that when this happens, seemingly all socket-level operations seem to fail in Windows. Even my Android emulator becomes inaccessible to Android Studio, and all Chrome tabs indicate no internet connectivity. Closing all Ubuntu windows resolved the issue for me today, and this consistently happens when I leave a local server running in Ubuntu overnight and come back to my workstation 24 hours later.
I'm using the Cisco AnyConnect VPN and as soon as I connect, I lose all access to the external network. Anything I can do to help debug this further?
@cmeiklejohn please see issue https://github.com/microsoft/WSL/issues/4277
If you'd like to help us debug it please send us networking logs, instructions on how to do that are here!
I also have this problem, using Cisco. Logs here: https://aka.ms/AA6fthe
Data point: with Windows 10.0.19013.1, CheckPoint VPN E81.40. If I right-click on the notification icon and select "Disable Security Policy" (thus regaining control of my own firewall) then WSL Ubuntu can connect to the Internet correctly.
Same issus occurs with Cisco OpenConnect VPN. Here are the logs https://aka.ms/AA6jmg1
Similar issue with Citrix VPN. I can ping the server, but can not open tcp port 80 and curl is timeout.
Same issues also with Checkpoint VPN
Same problem with Cisco AnyConnect
I lose internet connectivity in WSL2 when using SonicWall VPN in full-tunnel mode. If I switch to partial-tunnel, then WSL2 internet connectivity is fine.
I am seeing the same behavior using Cisco AnyConnect VPN. Any updates on this issue?
same issue using Cisco AnyConnect (connected)
So, interestingly enough, uninstalling and reinstalling the Checkpoint VPN software appears to fix the problem.
I have the same problem, but this did not seem to help in my case.
I installed/used Cisco AnyConnect from Windows Store https://www.microsoft.com/store/productId/9WZDNCRDJ8LH and it started working. Credit goes to https://github.com/microsoft/WSL/issues/4277#issuecomment-561649724
I have the same problem as @elmorekevin I'm using the latest Sonicwall NetExtender (9.0.274), and can only use full tunnel mode. WSL1 works perfectly at the same time WSL2 does not.