-
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 2 Ubuntu 22.04.2 LTS Lost internet access when VPNing with Citrix Secure Access #10104
Comments
You can try https://github.com/sakai135/wsl-vpnkit, it's a perfetc solution for me |
I already tried that sakai135 script. Unfortunately, I still encountering the same error and my WSL box still unable to ping google. |
did you try 2.x? Both version 3.x and 4.x don't work for me, but 2.x works well 🤣 |
no i didnt try version 2.x. |
You can download specific versions by tag, for example: https://github.com/sakai135/wsl-vpnkit/releases/tag/v0.2.5. And read the documentation here https://github.com/sakai135/wsl-vpnkit/tree/v0.2.x |
yup - tried version 0.2.5 and still same issue as well. |
@sugita01 are you sure you installed V0.2.5 correctly? I was in a very similar situation to yours. WSL2 had no network connectivity when the host machine was connected to Citrix Secure Access. I tried the latest versions of the script but it did not help. I was about to give up but tried out 0.2.5 and it seems to be working. Thanks for the tip, @zyition! |
I have connection working with the latest
Doesn't work unless I also use |
@terlar where did you put those settings you wrote? |
you can refer to this doc https://learn.microsoft.com/en-us/windows/wsl/wsl-config#wslconfig |
I have WSL 2 (Ubuntu 22.04.2 LTS) running on Win10 Enterprise ver 22H2.
When I start the Ubuntu 20.04 instance my WSL instance still have internet connectivity.
However, once I connect to my work VPN using Citrix Secure Access, i lost internet connectivity inside my Ubuntu WSL instance.
When I try ping www.afr.com.au, it results in:
ping :www.afr.com.au: Temporary failure in name resolution
I do get an IP address of 172.31.176.8. My cat /etc/resolv.conf is as below:
My vEthernet(WSL) is 172.31.176.1
when i tried to traceroute www.yahoo.com, it returns:
www.yahoo.com: Temporary failure in name resolution. Cannot handle 'host' cmdline arg 'www.yahoo.com' on position 1 (argc 1)
My /etc/wsl.conf is:
In my windows 10 cmd, when i try to run nslookup (whilst connected to vpn) it returns:
I also tried to turn off firewall in Windows Defender firewall settings, only for vEthernet WSL:
Below is the result of Get-NetIPInterface:
The text was updated successfully, but these errors were encountered: