Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 2002

Installing a Win2K VPN Server

RSS
Subscribe to Windows Web Solutions | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Set up remote access for your offsite users

A VPN is the expansion of a private network (e.g., a LAN) that leverages links across a shared or public network, such as the Internet. VPNs are a secure way of providing access to the servers on your LAN. In previous articles, I've warned against implementing remote access technologies such as Windows 2000 Server Terminal Services without first implementing a VPN solution. Now, I show you how to install and implement a VPN server on a Win2K machine to establish secure remote access for Web server administration.

VPN Technology Solutions
With a VPN, data is encapsulated with a header that provides routing information. This header lets data securely traverse a public network to reach the data's endpoint. The data is encrypted, so if packets are intercepted, they're indecipherable without the encryption keys that generated the data on the endpoints. (You can also use a VPN to establish routed connections between two or more LANs—for example, geographically separate offices—through a dedicated WAN connection, but that's beyond the scope of this article.) Two types of VPN technology solutions are available for remote client access in Win2K:

  • PPTP—uses user-level Point-to-Point Protocol (PPP) authentication methods and Microsoft Point-to-Point Encryption (MPPE) for data encryption
  • Layer 2 Tunneling Protocol (L2TP) with IP Security (IPSec)—uses user-level PPP authentication methods and machine-level certificates with IPSec for data encryption

I show you how to set up a PPTP VPN solution here.

Preparing for VPN Server Installation
Before you begin setting up and configuring a PPTP VPN solution, you might need to take a few preliminary steps. For example, if you have a firewall protecting your servers, you'll need to reference your firewall documentation for information about setting up and configuring your firewall to pass VPN traffic. In addition, a VPN server requires a dedicated NIC, so you need to set up and configure a second NIC that will move this private LAN traffic. The second NIC can use a static or dynamically generated IP address. If you have multiple LAN interfaces, I recommend naming each interface to keep them straight. To give your LAN interfaces names that are more descriptive of their function, open the Control Panel Network and Dial-up Connections applet, then right-click the LAN connection and select Rename.

Next, your VPN server needs a mechanism for resolving computer names to IP addresses. Win2K has two methods to accomplish this task: It uses DNS and a HOSTS file for host name resolution, and WINS and an LMHOSTS file for NetBIOS name resolution. Whatever form of name resolution is already running on your network will be sufficient for your VPN server.

Finally, if your VPN server belongs to a Win2K Active Directory (AD) domain, you need to log on as a user with Domain Admin privileges (or get the help of someone in your company who has Domain Admin privileges). You don't need to have Domain Admin privileges when you're setting up the VPN server, but you need them to add the VPN server to the list of valid remote access servers in AD before remote clients can use the service.

Installing the VPN Server
Installing a VPN server on Win2K is simple. On the server on which you want to run VPN services, click Start, Programs, Administrative Tools, Routing and Remote Access. Right-click the name of the server, then select Configure and Enable Routing and Remote Access to initiate the Routing and Remote Access Server Setup Wizard. On the first screen, click Next. On the Common Configurations screen, select the Virtual private network (VPN) server option, as Figure 1 shows, then click Next. On the Remote Client Protocols screen, verify the client protocols that you want to use in your VPN connection. Most likely, TCP/IP is the only protocol that will appear and the only protocol you need, but some shops still run IPX for backward compatibility to Novell and NetBEUI for backward compatibility to earlier versions of Windows. If you need to add protocols, you must quit the wizard and set them up appropriately in the Network and Dial-up Connections applet. Click Next.

On the Internet Connection screen, specify the Internet connection on the NIC that you've dedicated to your VPN server. This connection corresponds to the NIC connected to the Internet or to your perimeter network. Click Next. On the IP Address Assignment screen, which Figure 2 shows, configure how your VPN clients will be issued valid IP addresses on your network. If you have an operational DHCP server on your network, select the Automatically option. Otherwise, select the From a specified range of addresses option. With this option, you can choose a valid range of IP addresses that are compatible with the subnet on your network. (You can use a range of IP addresses in an off-subnet address range, but you'll need to add routes to your routing infrastructure for VPN clients to be reachable.) Click Next.

The Managing Multiple Remote Access Servers screen, which Figure 3 shows, lets you configure Remote Authentication Dial-In User Service. RADIUS is a client/server protocol and supporting software platform that lets remote access servers communicate with a central server to authenticate dial-up users and authorize their access to the requested system or service. RADIUS lets you maintain user profiles in a central database that all remote servers can share. That is, you can off-load authentication and authorization to a RADIUS server. This scenario is the most likely scenario if you're going to use multiple VPN servers. Win2K includes a RADIUS server known as Internet Authentication Service (IAS), which centralizes authentication, accounting, and administration of remote access policies for multiple Win2K VPN and dial-in remote access servers. IAS also manages third-party network-access servers. (Configuring an IAS server is beyond the scope of this article, but for more information, see Tao Zhou's Windows NT Magazine article "Remote Access Management with RADIUS," http://www.winnet mag.com, InstantDoc ID 5377.) If you choose not to use RADIUS for authentication, a Win2K VPN server can authenticate users by contacting a domain controller (DC) to authorize them through locally configured remote access policies. When you've decided which technology to use for authentication and authorization, click Next.

   Previous  [1]  2  Next 


Reader Comments
This article is great, it helped me set up my server perfectly. There is one question though, when I connect to the VPN via the internet, my connection gets dropped after 3 minutes, I have checked the pollicies and there are no issues I can see. If there is any advice you can give me as to what might be causing this, please let me know.

Danny May 06, 2004


Your Comments (required):Very good, you actually covered every thing I need, Thanks a lot.

Chris June 21, 2004


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Addressing the Insider Threat with NetIQ Security and Administration Solutions

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing