Enable WSL2 to access Global Protect VPN Tunnel


To enable Ubuntu via WSL2 to access the Prisma Global Protect VPN Tunnel use the following commands from a Powershell command line with Admin Access:

Get-NetIPInterface -InterfaceAlias "vEthernet (WSL)" | Set-NetIPInterface -InterfaceMetric 1
Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "PANGP Virtual Ethernet Adapter"} | Set-NetIPInterface -InterfaceMetric 6000

Be sure to check the names above by doing a ipconfig /all

Also check this post to if the previous solution does not work. I did do some of the things there before, so maybe that contributed to the fix.

,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.