Wednesday, August 07, 2024

Simple Fix for WSL2 and GlobalProtect VPN

 I ran across this today and am documenting it in case it helps others.  To make WSL work with GlobalProtect VPN, add the following into a file called "wslconfig" under your %USERPROFILE%\ directory:

[wsl2]

networkingMode=mirrored

dnsTunneling=true


Then in a powershell, run the following:

wsl --shutdown

wsl --update


Now when you start wsl, it should have network access. 

No comments: