Skip to content

Instantly share code, notes, and snippets.

@MauricioAires
Created April 19, 2023 19:26
Show Gist options
  • Save MauricioAires/268f7b4c09775fc146f7ef314948d2ab to your computer and use it in GitHub Desktop.
Save MauricioAires/268f7b4c09775fc146f7ef314948d2ab to your computer and use it in GitHub Desktop.

WSL2 com conexão VPN

Como corrigir a rede WSL2 com conexão VPN

Desativar conexão do WSL

netsh interface set interface "vEthernet (WSL)" disable

Realizar conexão da VPN

... vamos, pode conectar sua VPN

Habilitar conexão do WSL

netsh interface set interface "vEthernet (WSL)" enable

🎉Pronto, agora a conexão do WSL2 está utilizando a VPN 🎉

Referência https://youtu.be/yR2NsssY7z8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment