HOW TO: Provide Secure Point-to-Point Communications Across a Private Network or the Internet in Windows Server 2003 (324747)
The information in this article applies to:
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Small Business Server 2003, Premium Edition
- Microsoft Windows Small Business Server 2003, Standard Edition
This article was previously published under Q324747 For a Microsoft Windows 2000 version of this article,
see
301194. IN THIS TASKSUMMARY This step-by-step article describes how to install and
configure a virtual private network (VPN) to provide secure point-to-point
communications across a private network or the Internet.
back to the top
To Install the Remote Access Service Server If the remote access service server is a member of a domain, it
must be a member of the RAS and IAS Servers group in that domain. If
you are not a member of the Domain Admins group, a member of that group must
add this server to the RAS and IAS Servers group. If you are a member
of the Domain Admins group, the server is automatically added to the RAS and
IAS Servers group after you complete the procedures that are included in this
document.
back to the top
To Enable the Routing and Remote Access Service and Configure a VPN Interface- Click Start, point to Administrative Tools, and then click Routing and Remote
Access.
- Click the server that matches the local server name in the
left pane of the console.
If the icon has a red circle in the
lower-left corner, the Routing and Remote Access service is not enabled. Go to
step 3.
If the icon has a green arrow pointing up in the lower-left
corner, the service is enabled. If so, you may want to reconfigure the server.
To reconfigure the server, you must first disable Routing and Remote Access. To
do this, right-click the server, and then click Disable Routing and
Remote Access. Click Yes when you are prompted with an informational message. - Right-click the server, and then click Configure
and Enable Routing and Remote Access to start the Routing and Remote
Access Server Setup Wizard. Click Next.
- Click Remote access (dial-up or VPN) to
enable remote computers to dial in or connect to this network through the
Internet. Click Next.
- Click VPN for virtual private access, or click Dial-up for dial-up access, depending on the role you want to assign to
this server.
- On the VPN Connection page, click the network interface that is connected to the
Internet, and then click Next.
- On the IP Address Assignment page, do one of the following:
- If a DHCP server will be used to assign addresses to
remote clients, click Automatically, and then click Next. Go to step 8.
- To give remote clients addresses only from a
pre-defined pool, click From a specified range of
addresses.
In most cases, the DHCP option is simpler to
administer. However, if DHCP is not available, you must specify a range of
static addresses. Click Next.
The wizard opens the Address Range Assignment page.
- Click New.
- In the Start IP address box, type
the first IP address in the range of addresses that you want to use.
- In the End IP address box, type
the last IP address in the range.
Windows calculates the number of
addresses automatically. - Click OK to return to the Address Range Assignment page.
- Click Next.
- Accept the default setting No, use Routing and
Remote Access to authenticate connection requests, and then click Next.
- Click Finish to enable the Routing and Remote Access service and to configure
the server to run Routing and Remote Access.
You can now configure the server as a VPN
server.
back to the top
Setting Up a Client for Remote Access After you set up the server to receive dial-up connections, you
must set up a remote access client connection on the user's
workstation.
back to the top
To Set Up a Client for a Dial-Up Connection To set up a client for dial-up access, follow these steps on the
client workstation. NOTE: Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps. - Click Start, click Control Panel, and then double-click Network
Connections.
- Under Network Tasks, click Create a new connection, and then click Next.
- Click Connect to the network at my
workplace to create the dial-up connection, and then click Next.
- Click Dial-up connection, and then click Next.
- On the Connection Name page, type a
descriptive name for this connection, and then click Next.
- On the Phone Number to Dial page, type the
phone number for the remote access server in the Phone Number dialog box.
- Do one of the following, and then click Next:
- If you want to allow any user who logs on to the
workstation to have access to this dial-up connection, click Anyone's
use.
- If you want this connection to be available only to the
currently logged-on user, click My use only.
- Click Finish to save the connection.
back to the top
To Set Up a Client for a VPN Access Connection To set up a client for VPN access, follow these steps on the
client workstation: NOTE: Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps. - Click Start, click Control Panel, and then double-click Network
Connections.
- Under Network Tasks, click Create a new connection, and then click Next.
- Click Connect to the network at my
workplace to create the dial-up connection, and then click Next.
- Click Virtual Private Network connection,
and then click Next.
- On the Connection Name page, type a
descriptive name for this connection, and then click Next.
- Do one of the following, and then click Next:
- If the computer is permanently connected to the
Internet, click Do not dial the initial connection.
- If the computer connects to the Internet by way of an
Internet service provider (ISP), click Automatically dial this initial
connection, and then click the name of the connection to the
ISP.
- Type the IP address or the host name of the VPN server
computer (for example,
VPNServer.SampleDomain.com).
- Do one of the following, and then click Next:
- If you want to allow any user who logs on to the
workstation to have access to this dial-up connection, click Anyone's
use.
- If you want this connection to be available only to the
currently logged-on user, click My use only.
- Click Finish to save the connection.
back to the top
To Connect to the VPN Server After you create a VPN connection on your local workstation, you
can connect to the server. To do this, follow these
steps. NOTE: Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps. - Click Start, point to Connect To, and then click the new connection that you created.
- In the User Name box, type your user name. If the network to which you want to
connect has multiple domains, you may have to specify a domain name. If this is
the case, use the
domain_name\user
name format in the User Name box.
- In the Password box, type your password.
- If you use a dial-up connection, check the phone number
that is listed in the Dial box to make sure that it is correct. Make sure that you have
specified any additional numbers that you must have to obtain an external line
or to dial long-distance.
- Click Dial or Connect (for VPN connections).
Your computer establishes a
connection to the remote access server. The server authenticates the user and
registers your computer on the network.
back to the top
Configuring the Server to Accept Remote Clients and Granting Remote Access Rights to Users In Windows Server 2003, authorization is granted based on the
dial-in properties that you set in the user account in Active Directory and on
the remote access policy that you set for the remote access server. With remote
access policies, you can grant or deny authorization based on criteria, such as
the time of day, day of the week, the user's membership in Windows Server 2003
security groups, or the type of connection that is requested. When
you install the Routing and Remote Access service and you configure the server
that will run it, Windows creates a default policy that grants access to all
users, provided that dial-in permissions have been enabled (these permissions
are configured on a user-by-user basis). For users to be able to dial-in and
authenticate to a remote access server, these settings must be enabled in their
user accounts. When the server is a member of a domain, you can set
these settings by using the users' domain accounts. When the server
is a standalone server or member of a workgroup, the users must have local
accounts on the remote access server.
back to the top
To Allow the Server to Accept Remote Access Clients- Click Start, point to Administrative Tools, and then click Routing and Remote
Access.
- Double-click the server object, and then click Remote Access Policies.
- Right-click Connections to Microsoft Routing and
Remote Access server, and then click Properties.
- Click Grant remote access permission, and
then click OK.
- Close Routing and Remote Access.
back to the top
To Grant Dial-up Access Permission to Individual Users- Click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and
Computers.
- Right-click the user account for which you want to enable
remote access, and then click Properties.
- Click the Dial-in tab, click Allow access, and then click OK.
- Close the UserAccount Properties dialog box.
back to the top
To Grant Remote Access Permission to a User Group- Create a group with members who are permitted to create VPN
connections.
- Click Start, point to Administrative Tools, and then click Routing and Remote
Access.
- In the console tree, expand Routing and Remote
Access, expand the server name, and then click Remote Access Policies.
- Right-click the right pane, point to New, and then click Remote Access Policy.
- Click Next, type the policy name, and then click Next.
- Click VPN for virtual private access, or click Dial-up for dial-up access, and then click Next.
- Click Add, type the name of the group that you created in step 1, and then
click Next.
- Follow the on-screen instructions to complete the
wizard.
If the VPN server already permits dial-up networking remote
access services, do not delete the default policy; instead, move it so that it
is the last policy to be evaluated.
back to the top
TroubleshootingIf You Receive an Error Message That the Specified Destination Is Not Reachable Verify that the client is connected to the network. To test
whether the remote server can be contacted, follow these steps:
- Click Start, point to Programs, point to Accessories, and then click Command Prompt.
- At the command prompt, type the following, and then press
ENTER:
If the ping request times out, try pinging the IP address of
the remote server to see if there is a Domain Name System (DNS) name resolution
issue.
back to the top
If You Can Contact the Server, but You Cannot Successfully Authenticate Verify that the user account that you are using has been granted
permission to dial in and authenticate with Active Directory. The server that
you are contacting must be a member of the RAS and IAS Servers
group.
back to the top
Modification Type: | Minor | Last Reviewed: | 7/8/2005 |
---|
Keywords: | kbnetwork kbSecurity kbHOWTOmaster kbNetwork KB324747 kbAudITPro |
---|
|