L2TP IPSec VPN fails on Windows – Enable UDP encapsulation

on

Open up regedit and go to the following location

HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent

Create a DWORD32 entry, name it

AssumeUDPEncapsulationContextOnSendRule

and enter a value of 2. Save and Reboot.

 

You can optionally execute this command on an elevated prompt. Also reboot to apply.

REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f

Was this helpful?

Leave a Reply

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