Article ID: 818043 - Last Review: October 26, 2006 - Revision: 18.4 L2TP/IPsec NAT-T update for Windows XP and Windows 2000On This PageSUMMARYMicrosoft has released an update package to enhance the
current functionality of Layer Two Tunneling Protocol (L2TP) and Internet
Protocol security (IPsec) on computers that run Microsoft Windows 2000, Microsoft Windows XP without service packs installed, and Windows XP with Service Pack 1 (SP1).This functionality is included in Windows XP Service Pack 2 (SP2). Computers that run Windows XP with a service pack do not have to install this update package. This update includes improvements to IPsec to better support virtual private network (VPN) clients that are behind network address translation (NAT) devices. If you apply this update to a computer that is running Windows XP, and if the IPsec service encounters a runtime error and cannot start for any reason, the IPsec driver operates in block mode because it cannot secure network traffic. Note The IPsec service appears as "IPSEC services" in the list of system services. For more information about the latest service pack for Windows XP, click the following article number to view the article in the Microsoft Knowledge Base: 322389
(http://support.microsoft.com/kb/322389/
)
How
to obtain the latest Windows XP service pack
Article contentsMORE INFORMATIONNew IPsec features and Management and Monitor snap-ins
Interoperability and known issuesIPsec NAT-T and firewall rulesBecause the support for IPsec NAT-T functionality is based on IETF RFC 3193 and version 2 of the original IETF NAT-T Internet drafts, for these services to run through a firewall, you may have to open the following ports and protocols in the firewall rules:
Supported scenarios using IPsec NAT-TThe following scenarios will successfully allow for L2TP/IPsec-based IPsec NAT-T connections. In these scenarios, Client is a client that is running Windows 2000 and that has update 818043 installed or is a Windows XP-based computer that has SP2 installed. Server is an L2TP/IPsec server that is running Windows Server 2003 and that is using Routing and Remote Access.Client----> NAT ----Internet---->Server The only supported and recommended scenario is when the Server is not located behind a NAT device. The L2TP/IPsec server may also be a third-party gateway product that supports NAT-T connections. Note If you apply update 818043 to a Windows 2000-based server that is using Routing and Remote Access, the server cannot function as an L2TP/IPsec server in this scenario. It cannot allow for connections from L2TP/IPsec clients that are behind one or more NAT devices. This update is a client-side update only. Server-side IPsec NAT-T functionality is a new feature in Windows Server 2003 Routing and Remote Access only. IPsec NAT-T server-side support will not be added to Windows 2000 Routing and Remote Access. Diffie-Hellman Group 2048 updateFor L2TP/IPsec clients to negotiate and use the Diffie-Hellman Group 2048 update, the remote access server being contacted must also support this group.Note To use Diffie-Hellman 2048, if your computer is running Windows Server 2003, you must create a registry subkey. To do this, follow these steps:
Other
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. To change the IPsec NAT-T behavior for a computer that is running Windows XP SP2, you must create the AssumeUDPEncapsulationContextOnSendRule registry value. By default, Windows XP SP2 no longer supports IPsec NAT-T security associations to servers that are located behind a network address translator. Therefore, if your virtual private network (VPN) server is behind a network address translator, by default, a Windows XP SP2-based VPN client cannot make a L2TP/IPsec connection to the VPN server. This scenario includes a VPN server that is running Microsoft Windows Server 2003. This default behavior can also prevent computers that are running Windows XP SP2 from making Remote Desktop connections with L2TP/IPsec when the destination computer is located behind a network address translator. Because of the way that network address translators translate network traffic, you may experience unexpected results when you put a server behind a network address translator and then use IPsec NAT-T. Therefore, if you require IPsec for communication, we recommend that you use public IP addresses for all servers that you can connect to directly from the Internet. To create and configure the AssumeUDPEncapsulationContextOnSendRule registry value, follow these steps:
Windows XP service pack informationThis feature is available in the latest service pack for Windows XP (SP2). For more information, click the following article number to view the article in the Microsoft Knowledge Base:322389
(http://support.microsoft.com/kb/322389/
)
How to obtain the latest Windows XP service pack
Windows 2000 UpdateTo download this update for Windows 2000, visit the following Microsoft Web site to use the Microsoft Windows Update Catalog:http://v4.windowsupdate.microsoft.com/catalog
(http://v4.windowsupdate.microsoft.com/catalog)
Search for the ID number of this article by using the Advanced
Search Options feature in the Windows Update Catalog. To do this, follow these steps:
323166
(http://support.microsoft.com/kb/323166/
)
How to download updates that include drivers and hotfixes from the Windows Update Catalog
PrerequisitesThis update package is designed to be installed on computers that are running Windows 2000 with Service Pack 3 (SP3) or later versions.Restart requirementThis update package requires that you restart your computer to enable the new IPsec features.Update replacement informationThis update does not replace any other updates.File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Time Version Size File name ---------------------------------------------------------------- 18-Sep-2000 19:01 5.0.2195.1569 33,616 Fips.sys 21-Apr-2003 15:19 5.0.2195.6738 80,848 Ipsec.sys 21-Apr-2003 15:19 5.0.2195.6738 29,456 Ipsecmon.exe 21-Apr-2003 15:21 5.0.2195.6738 390,928 Netdiag.exe 01-May-2003 21:39 5.0.2195.6738 417,552 Oakley.dll 01-May-2003 21:39 5.0.2195.6738 96,528 Polagent.dll 01-May-2003 21:39 5.0.2195.6738 137,488 Polstore.dll 01-May-2003 21:39 5.0.2195.6738 58,128 Rasman.dll 01-May-2003 21:39 5.0.2195.6738 153,360 Rasmans.dll 01-May-2003 21:39 5.0.2195.6738 54,032 Rastapi.dll 21-Apr-2003 15:19 5.0.2195.6738 80,848 Ipsec.sys (56-bit) REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
314067
(http://support.microsoft.com/kb/314067/
)
How to troubleshoot TCP/IP connectivity with Windows XP
257225
(http://support.microsoft.com/kb/257225/
)
Basic
IPsec troubleshooting in Microsoft Windows 2000 Server
816915
(http://support.microsoft.com/kb/816915/
)
New file
naming schema for Microsoft Windows software update packages
| Article Translations
|

Back to the top
