I access two Meraki VPNs from my Windows 10 Pro (10.0.19042 Build 19042) machine:
- One which is not behind a NAT - when I switch this on, I can do
git clone [...]
orgit fetch [...]
just fine. - Second, which is behind
a NAT - when I switch that on and run
git fetch
, I am geting error message: "fatal: unable to access 'https://bitbucket.org/[project]/[project-name].git/': gnutls_handshake() failed: Error in the pull function."
To make the second VPN work, I've executed following commands in the PowerShell:
Set-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Services\PolicyAgent" -Name "AssumeUDPEncapsulationContextOnSendRule" -Type DWORD -Value 2 –Force;
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters" /v AllowL2TPWeakCrypto /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters" /v ProhibitIpSec /t REG_DWORD /d 0 /f
It was also necessary to disable IPv6.
That made the VPN work for Windows, but not for Linux inside WSL2. Any suggestions? Thank you very much!