To use L2TP in Windows Server 2003, you must have a public key infrastructure (PKI) to issue computer certificates to the virtual private network (VPN) server and to clients so that the Internet Key Exchange (IKE) authentication process can occur.
With Windows Server 2003, you can use a preshared key for IKE authentication. This feature is useful in environments that do not currently have a PKI in place, or in situations where Windows Server 2003 L2TP servers are making connections to third-party VPN servers that only support the use of preshared keys.
NOTE: Microsoft does not encourage the use of preshared keys, because it is a less secure method of authentication than certificates. Preshared keys are not meant to replace the use of certificates; instead, preshared keys are another method for testing and internal operations. Microsoft strongly recommends that you use certificates with L2TP whenever possible.
The following sections describe how to configure the preshared keys on both the L2TP client and the server. If you use a Windows Server 2003 operating system for both client and VPN-based server, complete the instructions in both of these sections so that the L2TP that uses a preshared key can work. If you use a Windows Server 2003 VPN client and a third-party VPN-based server, you must follow the steps in the "How to Configure a Preshared Key on a VPN Server" section of this article, and you must configure preshared keys on the third-party device.
- In Control Panel, double-click Network Connections.
- Under the Virtual Private Network section, right-click the connection for which you want to use a preshared key, and then click Properties.
- Click the Security tab.
- Click IPSec Settings.
NOTE: IPSec Settings may be shaded if on the Networking tab, Type of VPN is set to PPTP VPN. A preshared key can only be configured if this option is set to L2TP IPSec VPN or Automatic.
- Click to select the Use preshared key for authentication check box.
- In the Key box, type the preshared key value. This value must match the preshared key value that is entered on the VPN-based server.
- Click OK two times.
- Start the Routing and Remote Access snap-in. To do this, click Start, point to Administrative Tools, and then click Routing and Remote Access.
- Right-click the server that you will configure with the preshared key, and then click Properties.
- Click Security.
- Click to select the Allow Custom IPSec Policy for L2TP connection check box.
- In the Preshared key box, type the preshared key value. This value must match the preshared key value entered on the VPN-based client.
- Click OK.
ID do Artigo: 324258 - Última Revisão: 07/01/2008 - Revisão: 1