Forked from mandeepsmagh/WSL2 - Fix Internet connectivity behind corporate proxy
Last active
May 25, 2022 03:15
-
-
Save ariesy/fc9cb825ced421e4edda54c0f13f9e26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**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