Jump to content

WSL2 no internet access while VPN is on.

Recommended Posts


I lose access to the internet inside my WSL2 as soon as I turn the VPN on.

With VPN:

~# ping www.google.com
ping: www.google.com: Temporary failure in name resolution

Without VPN:

~# ping www.google.com
PING www.google.com ( 56(84) bytes of data.
64 bytes from maa05s19-in-f4.1e100.net ( icmp_seq=1 ttl=55 time=80.2 ms
64 bytes from maa05s19-in-f4.1e100.net ( icmp_seq=2 ttl=55 time=137 ms
64 bytes from maa05s19-in-f4.1e100.net ( icmp_seq=3 ttl=55 time=82.3 ms
64 bytes from maa05s19-in-f4.1e100.net ( icmp_seq=4 ttl=55 time=84.8 ms

I tried to exclude whatever WSL2-related processes through the SPLIT tunneling option to not use VPN, in vein.

Any pointers would be highly appreciated as this makes Kaspersky VPN almost non-practical to use in my situation.



My /etc/resolv.conf looks like this,


and ping also fails while VPN is on.




- Avo

Edited by avocado
Link to comment
Share on other sites

  • 3 months later...

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...