-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Environment
Windows build number: `10.0.19041.0`
Your Distribution version: `Ubuntu 20.04`
Whether the issue is on WSL 2 and/or WSL 1: WSL2
To make internet connection working on WSL2 machine, I have to connect to VPN (Wire Guard) first, otherwise it doesn't work
This wasn't the case, it was working fine (with TunSafe VPN client) installed without any issue, I believe this issue surfaced after the latest windows update a couple of days ago. I am not sure what causing this problem, windows update is the only thing changes without me doing anything.
Steps to reproduce
- Connect to VPN, I use TunSafe
- In WSL2 I have to edit
/etc/resolv.confand change the nameserver from172.20.144.1to something like1.1.1.1or8.8.8.8 - If I changed the nameserver back or disconnect from the VPN, internet connection stops
WSL logs: I tried to follow the steps but I didn't get the last option/tab which I can collect the logs
Expected behavior
I should have internet connection on my WSL2 machine
Actual behavior
As described, I have to connect to VPN server and change nameserver to make it work
More data
Network adapters
Wi-Fi Adapter sharing settings, I already tried turning this on/off states
WSL Adapter
Default Switch adapter
Hope this helps to solve the problem that I am having as I need WSL for my web development work
Metadata
Metadata
Assignees
Labels
No labels



