Відмінності між версіями «Windows l2tp tunel»

Матеріал з Wiki Welard
Перейти до навігації Перейти до пошуку
 
(Не показано одну проміжну версію цього користувача)
Рядок 2: Рядок 2:
 
[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.
+
 
 +
  По умолчанию Windows Vista и Windows Server 2008 не поддерживают сопоставления безопасности преобразования сетевых адресов (NAT) безопасности IPsec (NAT-T) с серверами, расположенными за устройством NAT. Если сервер виртуальной частной сети (VPN) находится за устройством NAT, клиентский компьютер VPN под управлением Windows Vista или Windows Server 2008 не сможет установить подключение по протоколу туннелирования уровня 2 (L2TP)/IPsec к VPN-серверу. Этот сценарий включает VPN-серверы под управлением Windows Server 2008 и Windows Server 2003.
 +
 
 +
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.
 +
 
  
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
 
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
 
  REG.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent" /v "AssumeUDPEncapsulationContextOnSendRule" /t REG_DWORD /d "2" /f

Поточна версія на 21:19, 29 грудня 2022

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

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


По умолчанию Windows Vista и Windows Server 2008 не поддерживают сопоставления безопасности преобразования сетевых адресов (NAT) безопасности IPsec (NAT-T) с серверами, расположенными за устройством NAT. Если сервер виртуальной частной сети (VPN) находится за устройством NAT, клиентский компьютер VPN под управлением Windows Vista или Windows Server 2008 не сможет установить подключение по протоколу туннелирования уровня 2 (L2TP)/IPsec к VPN-серверу. Этот сценарий включает VPN-серверы под управлением Windows Server 2008 и Windows Server 2003.

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.


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent

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.