Windows l2tp tunel

Матеріал з Wiki Welard
Версія від 21:17, 29 грудня 2022, створена WikiSysop (обговорення | внесок) (Створена сторінка: = Configure a L2TP/IPsec server behind a NAT-T device= [https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-l2tp-ipsec-server-beh...)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку

Configure a L2TP/IPsec server behind a NAT-T device

Configure a L2TP/IPsec server behind a NAT-T device

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent

You can also apply the AssumeUDPEncapsulationContextOnSendRule DWORD value to a Microsoft Windows XP Service Pack 2 (SP2)-based VPN client computer. To do so, locate and then select the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IPSec registry subkey.

REG.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent" /v "AssumeUDPEncapsulationContextOnSendRule" /t REG_DWORD /d "2" /f
  • 0 It's the default value. When it's set to 0, Windows can't establish security associations with servers located behind NAT devices.
  • 1 When it's set to 1, Windows can establish security associations with servers that are located behind NAT devices.
  • 2 When it's set to 2, Windows can establish security associations when both the server and VPN client computer (Windows Vista or Windows Server 2008-based) are behind NAT devices.