HOW TO: Configure a Preshared Key for Use with Layer 2 Tunneling Protocol Connections in Windows Server 2003 (324258)
The information in this article applies to:
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Server 2003, 64-Bit Datacenter Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, 64-Bit Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
This article was previously published under Q324258 For a Microsoft Windows XP version of this article,
see
281555. IN THIS TASKSUMMARY This article discusses how to configure a preshared key for
use with Layer 2 Tunneling Protocol (L2TP). 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.
back to the top
How to Configure a Preshared Key on a VPN Client - 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.
back to the top
How to Configure a Preshared Key on a VPN Server- 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.
back to the top
Modification Type: | Major | Last Reviewed: | 12/18/2003 |
---|
Keywords: | kbhowto kbHOWTOmaster kbnetwork kbNetwork KB324258 kbAudITPro |
---|
|