Відмінності між версіями «Windows l2tp tunel»
Перейти до навігації
Перейти до пошуку
(Створена сторінка: = 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...) |
|||
| Рядок 1: | Рядок 1: | ||
= Configure a L2TP/IPsec server behind a NAT-T device= | = Configure a L2TP/IPsec server behind a NAT-T device= | ||
[https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-l2tp-ipsec-server-behind-nat-t-device Configure a L2TP/IPsec server behind a NAT-T device] | [https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-l2tp-ipsec-server-behind-nat-t-device Configure a L2TP/IPsec server behind a NAT-T device] | ||
| + | |||
| + | This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows. | ||
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent | ||
Версія за 21:17, 29 грудня 2022
Configure a L2TP/IPsec server behind a NAT-T device
Configure a L2TP/IPsec server behind a NAT-T device
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows.
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.