Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ariesy/fc9cb825ced421e4edda54c0f13f9e26 to your computer and use it in GitHub Desktop.
Save ariesy/fc9cb825ced421e4edda54c0f13f9e26 to your computer and use it in GitHub Desktop.
**https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#bash-loses-network-connectivity-once-connected-to-a-vpn**
Assuming you have followed all the steps to install / setup WSL2 -> https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Restart WSL2
- Open powershell and run following command
`wsl --shutdown`
- Test internet connection in WSL2
- ping google.com, it should work now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment