I access two Meraki VPNs from Windows 10 Pro 10.0.19042 Build 19042:
- 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 connect and run
git fetch, results in the 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 executed following commands:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent" /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 2 /freg add "HKLM\System\CurrentControlSet\Services\Rasman\Parameters" /v AllowL2TPWeakCrypto /t REG_DWORD /d 1 /freg add "HKLM\System\CurrentControlSet\Services\Rasman\Parameters" /v ProhibitIpSec /t REG_DWORD /d 0 /fIt was also necessary to disable IPv6.
That made the VPN work for Windows, but not for Linux inside the WSL2 session.
Any suggestions? Thank you very much!