http://www.win2000mag.com/articles/index.cfm?articleid=8290



From this document you will learn the answers to the following questions:

Who has to connect to a VPN server?

What is a VPN server often behind?

How many steps can you build a PPTP server as a standalone server or as a domain controller?

Similar documents
Chapter 12 Supporting Network Address Translation (NAT)

Multi-Homing Dual WAN Firewall Router

I. What is VPN? II. Types of VPN connection. There are two types of VPN connection:

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Chapter 10 Troubleshooting

Accessing Remote Devices via the LAN-Cell 2

7.1. Remote Access Connection

Network Configuration Settings

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Chapter 4 Customizing Your Network Settings

Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure

Guideline for setting up a functional VPN

Release Notes. Pre-Installation Recommendations... 1 Platform Compatibility... 1 Known Issues... 2 Resolved Issues... 2 Troubleshooting...

Controlling Ashly Products From a Remote PC Location

Chapter 3 LAN Configuration

Chapter 5 Customizing Your Network Settings

Steps for Basic Configuration

Chapter 1 Connecting Your Router to the Internet

Step-by-Step Configuration

Chapter 4 Customizing Your Network Settings

Configuring SSL VPN on the Cisco ISA500 Security Appliance

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

Cisco Which VPN Solution is Right for You?

How to setup PPTP VPN connection with DI-804HV or DI-808HV using Windows PPTP client

PPTP Server Access Through The

IP Office - Job Aid Using a Dedicated T1/PRI PPP ISP Link

TW100-BRF114 Firewall Router. User's Guide. Cable/DSL Internet Access. 4-Port Switching Hub

Step-by-Step Guide for Creating and Testing Connection Manager Profiles in a Test Lab

Understanding Windows Server 2003 Networking p. 1 The OSI Model p. 2 Protocol Stacks p. 4 Communication between Stacks p. 13 Microsoft's Network

VPN. Date: 4/15/2004 By: Heena Patel

Sophos UTM. Remote Access via PPTP. Configuring UTM and Client

7. Configuring IPSec VPNs

Protecting the Home Network (Firewall)

Broadband Router ALL1294B

Sample Configuration Using the ip nat outside source static

Initial Access and Basic IPv4 Internet Configuration

Sample Configuration Using the ip nat outside source list C

Setting up VPN Access for Remote Diagnostics Support

Multi-Homing Security Gateway

How To Understand The History Of The Network And Network (Networking) In A Network (Network) (Netnet) (Network And Network) (Dns) (Wired) (Lannet) And (Network Network)

Network Agent Quick Start

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

Configuring Check Point VPN-1/FireWall-1 and SecuRemote Client with Avaya IP Softphone via NAT - Issue 1.0

Broadband Bandwidth Controller

Basic IPv6 WAN and LAN Configuration

Chapter 8 Advanced Configuration

Debug Failed to connect to server!

Creating a Gateway to Client VPN between Sidewinder G2 and a Mac OS X Client

Pre-lab and In-class Laboratory Exercise 10 (L10)

Step-by-Step Configuration

HOWTO: How to configure IPSEC gateway (office) to gateway

Using Remote Desktop Software with the LAN-Cell 3

Enterprise Edge Communications Manager. Data Capabilities

Setting up VPN connection: DI-824VUP+ with Windows PPTP client

Creating a VPN Using Windows 2003 Server and XP Professional

Configuring IPSec VPN Tunnel between NetScreen Remote Client and RN300

NETWORK SET UP GUIDE FOR

Tech-Note Bridges Vs Routers Version /06/2009. Bridges Vs Routers

Source-Connect Network Configuration Last updated May 2009

How To Configure L2TP VPN Connection for MAC OS X client

Windows XP Service Pack 2 Windows Firewall Group Policy Setup for Executive Software Products

Firewall Defaults and Some Basic Rules

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

Using a VPN with Niagara Systems. v0.3 6, July 2013

21.4 Network Address Translation (NAT) NAT concept

CCT vs. CCENT Skill Set Comparison

Security Technology: Firewalls and VPNs

ERserver. iseries. Remote Access Services: PPP connections

Using Remote Desktop Software with the LAN-Cell

CREATING AN IKE IPSEC TUNNEL BETWEEN AN INTERNET SECURITY ROUTER AND A WINDOWS 2000/XP PC

LevelOne. User Manual. FBR-1430 VPN Broadband Router, 1W 4L V1.0

nexvortex Setup Guide

Routing and Remote Access Service, VPN, and Firewalls

Using a VPN with CentraLine AX Systems

GregSowell.com. Mikrotik Basics

TW100-BRV204 VPN Firewall Router

Course Syllabus. Fundamentals of Windows Server 2008 Network and Applications Infrastructure. Key Data. Audience. Prerequisites. At Course Completion

Basic ViPNet VPN Deployment Schemes. Supplement to ViPNet Documentation

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Astaro Security Gateway V8. Remote Access via L2TP over IPSec Configuring ASG and Client

Chapter 1 Installing the Gateway

Basic Network Configuration

Release Notes. Contents. Release Purpose. Pre-Installation Recommendations. Platform Compatibility. Dell SonicWALL Global VPN Client 4.

ASUS WL-5XX Series Wireless Router Internet Configuration. User s Guide

NETASQ MIGRATING FROM V8 TO V9

Retail Deployment Guide. Microsoft Dynamics AX 2012 Feature Pack

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

AirStation VPN Setup Guide WZR-RS-G54

Appendix C Network Planning for Dual WAN Ports

Lab Configuring Access Policies and DMZ Settings

Configuring Network Address Translation (NAT)

Multifunctional Broadband Router User Guide. Copyright Statement

Howto: How to configure static port mapping in the corporate router/firewall for Panda GateDefender Integra VPN networks

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

10 WIRELESS, REMOTE, AND WIDE AREA NETWORKING

If you have questions or find errors in the guide, please, contact us under the following address:

Overview - Using ADAMS With a Firewall

Firewall Defaults, Public Server Rule, and Secondary WAN IP Address

Transcription:

Page 1 of 5 Network Home Network Map Our Publications -Log On - Subscribe/Renew - Advertise Home Back Issues Web Exclusives Topics Authors Contact Us search for on this site go power sea ARTICLE INFORMATION InstantDoc ID: 8290 TOOLS Email to a friend <-- prev. page [1] 2 next page --> April 2000 / Features / Paula Sharick 15 Tips for Troubleshooting VPN Connections A few server tips and a bucketful of client techniques You can construct a VPN in a myriad of ways, but constructing your VPN is just your first step. After you construct the VPN, you have to troubleshoot it. A minimal VPN implementation has a RAS PPTP server connected to the Internet, a client connected to the Internet, and a PPTP connection between the server and the client. As long as ISP service or Internet connectivity is available, clients can connect to your server or LAN from anywhere in the world. However, most VPNs aren't as simple as a connected server and client. More often, the VPN server is on a routed LAN segment, often behind a firewall, and the client connection uses an ISP network, which also employs routers and firewalls. You can build a PPTP server as a standalone server or as a domain controller in a couple of steps: You install RAS and the PPTP protocol and configure PPTP ports the same way you configure dial-up connections. Windows NT client setup is equally straightforward: You load PPTP and configure the PPTP connection to locate the PPTP server over the Internet. With such a simple setup, you might assume that the VPN connection will function properly the first time. However, administrators spend a fair amount of time troubleshooting before they successfully deploy a new VPN. Printer-friendly Find related articles Find related products TOPIC Change and Configuration Management (CCM) SIDE BAR Important Client TCP/IP Settings READER COMMENTS Post a comment Socrates Fuertes - This is a very useful and practical article. It helped me a great deal. Keep up the good work... Read all 23 comments... Troubleshooting a VPN, like troubleshooting any WAN connectivity problem, is complex because the data travels through many links before it arrives at its destination. For example, data typically flows from the client to an ISP's router, through a firewall, across the ISP's network, maybe across additional ISPs' networks, to the company's router, to a firewall or proxy server, and finally to the destination PPTP server. When a client connects to an ISP (this connection uses the Point-to- Point Protocol PPP portion of the VPN connection), the ISP assigns the

Page 2 of 5 client a TCP/IP address, a DNS server address, and a default gateway. When the client initiates a PPTP connection, that action creates a second TCP/IP session (this session is the tunnel portion of the VPN connection), which is embedded inside the first session and provides packet encryption and encapsulation. When the client connects successfully, the VPN server assigns the client a second IP address, a second DNS server address, frequently a WINS server, and another default gateway. At each link in the connection, something can go wrong. Knowing the common configuration and connectivity problems and having a troubleshooting procedure to follow will help you debug your VPN connections. VPN Server Recommendations If possible, start with an NT server that has a minimum number of services installed and limit the protocols to TCP/IP and PPTP. You'll save time if you update your server with service packs before you try to debug client connections. NT 4.0 Service Packs 5 (SP5) and SP6a correct numerous problems with PPTP connections, including performance problems related to fragmented packets, dropped connections, and refused connections. I have four more recommendations to help you keep the server configuration simple and straightforward for troubleshooting purposes. Configuring a multihomed server. If your PPTP server has two network cards, one for the LAN and one for the WAN, leave the gateway field on the LAN adapter blank (don't enter zeros; leave it blank). In the gateway field of the WAN network interface, enter the TCP/IP address that your ISP provides; the gateway address usually points to a router at your ISP. You need the blank gateway so that the server can route network packets to the client. Leaving the LAN gateway blank is standard practice when you configure a server with multiple network adapters. For test purposes, I recommend you manually enter the TCP/IP address and WINS server address for the LAN NIC (instead of using DHCP to assign these values). Configuring RAS. When you install RAS, configure only as many VPN ports as you truly need to support active client connections. Although each RAS server can support 256 concurrent connections (assuming you have the bandwidth for all this activity), you might need only 40 concurrent connections to support your mobile users. Next, configure the server to assign client addresses from a static address pool, rather than assigning addresses from a DHCP server. If you configure RAS to assign client addresses from a static address pool, clients inherit the DNS and WINS settings from the RAS server. If your RAS server can browse the network, clients should also be able to browse the network with the same settings. If you prefer DHCP, verify that DHCP scope option 44 (WINS/NetBIOS name server) points to the WINS server and that scope option 6 shows the address of your DNS server. When you don't define these options, you almost guarantee problems with client browsing. Enabling PPTP filtering. Configuring and testing a VPN server that resides outside your firewall is easier than testing a server inside your firewall because avoiding the firewall removes one link in the test-anddebug chain. If you aren't running your server in a highly secure

Page 3 of 5 environment, you can place the server outside the firewall and restrict incoming VPN traffic to PPTP packets only. To enable PPTP filtering, right-click Network Neighborhood, select Properties and Protocols, double -click TCP/IP Protocols, and select the WAN adapter and Advanced. Then, select the Enable PPTP Filtering check box. When you enable PPTP filtering, the server will refuse all non-pptp requests. I've tested this feature, and it's an effective method for restricting incoming sessions to PPTP-only connections. PPTP filtering has one important side effect: When you enable filtering, LAN clients can't use the RAS server's WAN connection to browse the Internet because filtering disables incoming HTTP and FTP traffic. If you want the VPN server to restrict incoming packets to PPTP and host an Internet-accessible Web site, you can make a Registry modification that lets other packets through the filtered interface to the local system only. Go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RASPPTPF\ Parameters Registry key, and add the value entry AllowPacketsForLocalMachine of REG_DWORD data type 1. When you make this modification, you expose the RAS server to the Internet yet restrict incoming connections to the VPN server, so remote clients can't see any other resources on your network. Using firewall ports. Before you place a VPN server behind a firewall, verify that your firewall software accepts PPTP packets. Sometimes firewall software packages (including some versions of Check Point Software Technologies' FireWall -1) don't accept PPTP connections when you configure the firewall with Network Address Translation (NAT for information about NAT, see Zubair Ahmad, "Windows 2000's Network Address Translation," February 2000). In this situation, the client's attempt to connect to the RAS server produces the error message Event ID 721 PPP remote peer not responding. When you place a VPN server behind your firewall, be sure to enable IP protocol 47 (Generic Routing Encapsulation GRE) and TCP port 1723. The connection uses port 1723 for general housekeeping, such as PPTP tunnel creation, maintenance, and termination. Port 47 passes tunneled data between the client and the server (including the GRE protocol), and you also need TCP port 1723 [established] if you're supporting RAS server -to-server VPN connections. Before you try to connect a VPN client, verify the server's TCP/IP settings on both NICs and make sure your RAS server can perform all typical network operations (e.g., browse the LAN, connect to LAN resources, connect to the Internet, browse the Internet). Then, enable dial-up permission for your test account. You might also want to enable PPP logging for your initial test. Client Troubleshooting To operate successfully, a PPTP client must properly maintain two sets of TCP/IP stack settings: one for the ISP and Internet connection and one for the VPN server connection. The client's routing table must also have two entries: one that directs network packets to the ISP for Internet browsing and one that points to the VPN server interface for LAN browsing. When the stack settings are incorrect, clients experience problems. In general, NT clients maintain separate TCP/IP stack settings, but Windows 95 clients typically have trouble with stack

Page 4 of 5 settings when the clients have a network card and a modem. After establishing a PPTP connection, the Win9x default gateway might still point to the ISP, which prevents the client from successfully browsing the LAN. Let's take a look at the five most common client connectivity problems. Client can't connect to the PPTP server. The first problem you might encounter is the client's inability to connect to the PPTP server. You need to check for three possible causes of this problem. 1. Establishing VPN server Internet connectivity. After you configure the client, you need to verify that the VPN server has a connection to the Internet. The easiest way to verify a connection is to use the server's TCP/IP address and ping the server from the client. (If your PPTP server is behind a firewall and the firewall blocks Internet Control Message Protocol ICMP ping messages, this technique won't work.) If the ping gives you the message request timed out, something is amiss with the server's Internet connection. If the server responds by address, you can enter the TCP/IP address in the phone number field of the DUN entry to establish the PPTP session. Although it's less friendly than a Fully Qualified Domain Name (FQDN), this technique works fine when you know the server's address. Remember that a server with a dial-up connection is likely to get a different address each time the server connects to the ISP. To connect by address, you must know the address the ISP has assigned to the server each time the server makes a dial-up connection. More commonly, your RAS server will have a permanent address, which eliminates one small variable in the connection process. If the server responds by address, ping it by name. If the server doesn't respond by name, one of two situations is likely: The server might not have a registered domain name, or your ISP DNS server might be down or not working properly. 2. Checking PPTP filtering. With PPTP filtering enabled on the server, you might see the message Error 678: There is no answer, or Error 650: The Remote Access Server is not responding. Disable PPTP filtering on the server (Net Stop RASPPTPF), and see whether you can establish a nonfiltered connection. If you can connect with filtering disabled, check the server's filter settings. If you disable UDP ports 137 and 138 or TCP port 139, NetBIOS packets can't pass through the network. You also need to enable these ports on all firewalls and routers that are between the client and the server for unicast (point -to-point) traffic. 3. Filtering the GRE protocol. If the server responds by address and name but you still can't connect, your ISP's routers or internal routers or firewalls might be filtering GRE packets. To establish a PPTP tunnel, the client and server exchange GRE packets, and some ISPs disable external GRE packets because the ISPs use GRE internally to manage routers. Although GRE filtering is uncommon, it will prevent a PPTP connection, so make sure you have IP protocol 47 (GRE) and TCP port 1723 enabled at both ends of the VPN connection. You can identify GRE filtering with the Microsoft Network Monitor or similar network sniffer tool. For more information about monitoring PPTP packets during a VPN connection, see "Related Articles in Previous Issues."

Page 5 of 5 Find related articles Find related products <-- prev. page [1] 2 next page --> FAXmaker for Exchange: The best fax connector @ the best price! Intense School - The Best MCSE and Cisco Boot Camps in the World 10-minute Active Directory Recovery - ERDisk for Active Directory Increase system performance up to 200%. Try DISKEEPER! Data Replication: Real-Time or Scheduled LinkPro s PowerSync Windows 2000 Mag - issue! Home networking, m theater, and more! Get MCSE Live! UPD OpalisRobot - task scheduler; automate IT processes & daily tasks Compaq Delivering Microsoft SharePoint Portal Server Network Channels: Windows NT/2000 SQL Server.NET Exchange & Outlook Administrator IIS & Web Admin Computing Security Administrator Training & Certification IT Buyer s Network Development Scripting St Advertising Information Our Publications Affiliate Programs Network Map About Us Copyright 2001, Penton Media, Inc. All Rights Reserved. Legal & Privacy Notices