From the client, if the VPN serveur type is L2TP/IPsec execute as admin the command bellow to enable UDPEncapsulation then restart computer.
Last active
October 1, 2021 10:51
-
-
Save CallMarl/2e6e8c768d79db58e42ddfac2cbc97f4 to your computer and use it in GitHub Desktop.
Enable UDP encapsulation for L2TP/IPsec VPN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable UDPEncapsulation | |
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run powershell as admin