Skip to content

Instantly share code, notes, and snippets.

@ngobach
Created July 7, 2017 15:52
Show Gist options
  • Save ngobach/90d3ff6dc736d7262f8dc395251c8707 to your computer and use it in GitHub Desktop.
Save ngobach/90d3ff6dc736d7262f8dc395251c8707 to your computer and use it in GitHub Desktop.
L2PT/IPSec NAT-T fix for windows

For Windows Vista, 7, 8.x and 10

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

For Windows XP ONLY

REG ADD HKLM\SYSTEM\CurrentControlSet\Services\IPSec /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