Summary dial-up networking and RRAS

Connection types

You can use the Network Connection wizard to create the following connections :

bulletDial-up to a private network

This option gives the ability to enter a number to connect to, to determine if only you or every user on the computer can use to connection and set a friendly name for the connection.

bulletDial-up to the internet

Sign up for a new internet account (select an ISP and enter billing information), transfer an existing internet account (enter ISP number and user-id and password) or set up an internet connection manually.

bulletConnect to a private network through the internet

To be able to reach another network via the internet, TCP/IP, IPX or NetBeui packets are encapsulated in a tunnel. Due to this encapsulating the outside can only see the source- and destination address of the external network connectors.
Packets can be encapsulated and encrypted with the Point-to-Point Tunneling Protocol (PPTP).  Another tunneling option is the Layer 2 Tunneling Protocol (L2TP) which only encapsulates packets but does not encrypt data. 

bulletAccept incoming connections

Via this option Windows 2000 Professional can act as a Remote Access Server (RAS). Windows 2000 Professional can handle three simultaneous connections of different types (dial up, vpn, direct serial connection) For each type of connection you can set which user can access the machine and if they are allowed to use call back with a fixed or variable number. Remote users need a local account. You can also set if you allow Virtual Private Connections. At the TCP/IP properties you can allow user to access the local network of the client, assign ip address via dhcp or offer fixed addresses or let the client determine it's own address.

bullet Connect directly to another computer

For a dial up and private network connections you can set to following entries :

bullet General tab

Connect using. Which modem to use.
Phone number (Area code, phone number, country/region code) and alternates.
Show icon in task bar.

bulletOptions tab

Dialing options. (progress while dialing, prompt for name and password, including Windows logon domain, prompt for phone number)
Redialing options. (number of attempts, time between redials, idle time before hanging up)
Redial if line is dropped.
X25 button. (Network, X 121 address, user data, facilities)

bulletSecurity tab

Typical options (Allow unsecured password, require secure password, use smart card). When using require secure password you can automatically use the Windows logon and domain name and require data encryption.

Advanced options

Set data encryption (optional, no-encryption, required)

Logon security. Use EAP (MD5-challenge or Smart card) or allow the following protocols :

* Unencrypted password (PAP)
* Shiva Password Authentication Protocol (SPAP)
* Challenge Handshake Authentication Protocol (CHAP)
* Microsoft CHAP (MS-CHAP) inclusive Older version (Windows 95)
* Microsoft CHAP version 2 (MS-CHAP v2)

You can set to let MS-CHAP use the default user- and domain name.

Set interactive logon items (show terminal window, run script)

 
bulletNetworking tab

Set the type of dial up server (PPP or SLIP) or the type of VPN server (PPTP or L2TP)

Select the protocols and clients (TCP/IP, Client for Microsoft networks etc.) and set their properties

 
bulletSharing tab

Allow Internet Connection Sharing (ICS) for this connection. If allowed you can activate on demand dialing.

Routing and remote access on Windows 2000 server

On Windows 2000 server RAS is enabled via the Routing and Remote Access service. You can configure inbound connections via the Routing and Remote Access mmc. (rrasmgmt.msc) You can configure the server via the Configure and enable routing and remote access option available when you right-click the server. This will offer the following options :

bulletInternet connection server

Set up Internet connection sharing (ICS) or set up a router with the NAT routing protocol.
bulletRemote access server

Configure remote access server with the following options :
bulletWhich protocols. (TCP/IP, IPX, Netbeui, AppleTalk)
bulletWhen using ip, automatically assign ip address or from a specified range of addresses.
bulletUse (or setup) a RADIUS server. (IAS)

Now you can specify the following options in the containers of the server :
bulletPort tab. Here you can define the inbound and outbound connections. For each port you can select Remote access only (inbound only) or Demand-dial routing connections (inbound and outbound). You can also set the phone number for the device and the maximum number of connections if more than one is possible for the device.
For each port you can watch the status, line statistics, errors and network registration. You can also reset the port.

 
bulletRemote access clients

Shows the connected clients via RAS.
bulletIP Routing

Shows general ip information per adapter (statistics, routing information, tcp connections, UDP listener ports), static routes, DHCP relay agent information, IGMP information per adapter.

bulletRemote access policies

You can set the 'Allow access if dial-in permission is enabled' policy and create new policies based on :

* Caller-station-id (phone number of user)
* Calling-station-id (phone number of RAS host)
* Client-friendly-name (friendly name of RADIUS client, IAS only)
* Client-ip-address (ip addres of RADIUS client, IAS only)
* Client vendor (Manufacturer of proxy or NAS, IAS only)
* Day-and-time restrictions (Specific time)
* Framed protocol
* NAS identifier (IAS only)
* NAS-ip-address (IAS only)
* NAS port type 
* Service type 
* Tunnel-type (Tunneling protocol)
* Windows groups (groups the user belongs to)

You can set the following policy tabs :

Dial-in constraints

* Disconnect if idle for x minutes
* Restrict maximum session to x minutes
* Restrict access to specific days and times
* Restrict dial in to a specific number
* Restrict specific dial in media

IP

* Set ip address assignment policy
* Set ip packet filters

Multilink

* Set multilink settings (default to server, allow or disable)
* BAP settings

Authentication

* Set which authentication is required (EAP, CHAP, etc)

Encryption

* Set the allowed encryption levels (No, basic, strong)

Advanced

* Set additional attributes that should be returned to the server.

Remote access policies (RAP) are not stored in Active Directory but in the IAS.MDB file.

Under the server properties you can customize the following tabs :

bulletGeneral tab. Enable the server as a router or RAS server.
bulletSecurity tab. Set the authentication provider (Windows authentication or a RADIUS authentication) and accounting provider (none, Windows accounting or RADIUS accounting) You can select the following authentication methods :

* EAP (MD5 or Smart card)
* Microsoft Encrypted authentication version 2 (MS-CHAP v2)
* Microsoft Encrypted authentication (MS-CHAP)
* Encrypted authentication (CHAP)
* Shiva password authentication protocol (SPAP)
* Unencrypted password (PAP)
* Unauthenticated access 
bulletIP tab. Enabled or disable ip routing (default on), allow the ip protocol for RAS connections (default on) and set how ip addresses are assigned (dhcp or static address pool)
If other protocols are installed, a tab to customize them will be there.
bulletPPP tab. Allow mulitlink connections (default on), control bandwidth with BAP or BACP (default on), Link Control protocol (LCP) extensions (default on) and software compression. (default on)
bulletEvent log tab. Log errors only, log errors and warnings, log the maximum amount of information, disable event logging, enable ppp loging (c:\winnt\tracing\ppp.log). By default the Log errors and warnings option is selected.

To give a user access to dial-in, you have to authorize their account via the dial-in tab. You can set if the users is allowed to dial in, if the remote access policy should be applied, the caller id, the call back options (no callback, set by caller or always call back to a specified number), apply static ip address and apply static routes.

bulletVirtual private network (VPN) server. See summary VPN.
bulletNetwork router. See summary routing.
bulletManually configure server.

Remote access log files and tools

Logfiles

At the Remote Access Logging folder of the RRAS mmc, you can set where a logfile is stored and what the contents should be :

Settings-tab :

bulletLog accounting requests.
bulletLog authentication requests.
bulletLog periodic status.

Local file tab :

bullet

Log file format. Database compatible format or IAS format. (default)

bullet

New log time period. Daily, Weekly, Monthly, Unlimited file size (default), When log file reaches x mb.

bullet

Log file directory. Default e:\winnt\system32\LogFiles. (iaslog.log)

Tools

Netsh

Netsh is a command-line and scripting tool.  You can use the RAS, Routing and Interface parts to configure and monitor RRAS.

Network monitor

Network monitor can be used to monitor network traffic at a computer's interface.

Raslist

A resource kit utility that display RRAS server announcements from a network.

Rassrvmon

A resource kit utility to monitor details of the RRAS server.

Rasusers

A resource kit utility to show all users on a domain or server that have been granted permissions to dial in via RRAS.

Traceenable

A resource kit utility to trace RRAS internal components.

Protocols

Slip and PPP

Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP) are protocols for dial-up connections. SLIP is older, less secure and can only be used for outbound connections. SLIP can only used for TCP/IP,
PPP is a data link protocol that can be used for TCP/IP, IPX and NetBeui. PPP support various authentication protocols, data encryption and compression. PPP has three main components :

bulletEncapsulation. Encapsulation packeges multiple protocols (TCP/IP, IPX and NetBeui) into frames.
bulletLCP. The Link Control Protocol is used to provide the handshake for encapsulation format, packet size, authentication, bringing up or dropping extra lines, etc.
bulletNetwork Control Procols. They offer the configuation needs for the transport protocols TCP/IP, IPX and NetBeui.

PAP

Least secure protocol. Uses unencrypted passwords that can be captured from the network. PAP provides no protection against replay attacks or remote client impersonation once the user's password is compromised

CHAP

Challenge Handshake Authentication Protocol. The server send a challenge with a session ID and an arbitrary challenge string to the client. The client uses the MD5 one-way hashing algorithm to return a encryption of the challenge and the user name. (The username is returned unhashed) This server than checks the returned hash with the password on the server. If it matches, access is provided. (the password is never send over the network) CHAP protects against replay attacks by using an arbitrary challenge string for each authentication attempt. CHAP protects against remote client impersonation by unpredictably sending repeated challenges to the remote client throughout the duration of the connection.

MS-CHAP

Microsoft Encrypted Authentication. Just like chap, the server send a challenge containing a session ID and an arbitrary challenge string. The client return the username, a MD4 hash of the challenge string, the session id and a MD4 hashed password. This gives the server the ability to store hash password instead of clear-text password. MS-Chap also offers the ability to send additional error codes to the client like password expired and the ability to change the password.
When using MS-CHAP both the client and the server independently generate an initial key for subsequent data encryption by MPPE.

MS-CHAP v2

An improved version of MS-CHAP with higher security. Lan manager encoding is no longer supported, both the client and the server are authenticated, cryptographic keys are created for data transmission.

SPAP

Shiva Password Authentication protocol. Used by Shiva Lan Rovers. Uses reversible encryption to encrypt the password.

EAP

Extensible Authentication Protocol. Offers stronger authentication than CHAP and can be extended with third party tools. Part of EAP is :

bulletCards that provide passwords.
bulletMD5-CHAP. Message Digest 5 Challenge Handshake Authentication Protocol. Uses hashing for authentication like CHAP.
bulletTLS. Transport Level Security. Support for smart cards and certificates. Offers authentication and encryption.

RADIUS

Remote Authentication Dial-In Service. A central radius server manages dial-in accounts. When a clients log on to a radius client, this client forwards the authentication request to the radius server.

BAP/BACP

Bandwidth Allocation (Control) Protocol for multilinking (various lines) solutions. Offers the ability to dynamically add or drop links. It is configured via Remote Access policies. Policies to drop lines can be set for different groups and different line usage.

PPTP

Point-to-Point Tunneling Protocol (PPTP) is an extension of the PPP protocol. PPTP can only be used over TCP/IP connections, it does not support compression or provide authentication. For authentication IPSec can be used.

L2TP

Another tunneling protocol is the Layer 2 Tunneling Protocol (L2TP) which only encapsulates packets,  it does not encrypt data. L2TP can be used over IP connections but also over Frame Relay, ATM and X25. It also supports compression and tunnel authentication. For encryption, IPSec can be used.

RAS upgrading/Mixed mode issues

A Windows NT 4.0 Remote Access Service/Routing and Remote Access Service server uses the LocalSystem account to retrieve user account information. As this LocalSystem account uses Null credentials to logon to a domain controller this can cause problems as this is not allowed in Windows 2000. This also occurs after an upgrade. There are three solutions to solve this :

bulletRun the domain in mixed mode and make a NT 4.0 domain controller available for the RAS/RRAS server. Keep in mind that if the RAS server contact a Windows 2000 domain controller, the logon will fail.
bulletRun the RAS server on a Windows NT 4.0 domain controller.
bulletGive the user Everyone permissions to read any property on any user object. This can be configured with the Active Directory Installation Wizard, dcpromo, by selecting Permission Compatible with Pre-Windows 2000 Server. This can also be done in a native environment but it decreases security.

Connection manager administration kit

In larger scale installations, the Connection Manager Administration Kit and Connection Point Services can be used together to deliver a customized remote access direct-dial and VPN client to corporate systems.

 

Windows XP/.Net improvements

bulletInternet: All-user remote access service credential. One account and its credentials is available for all users on the same computer to access the internet (WH1323N020601) 
bulletInternet: TCP/IP name resolution over RAS without WINS/DNS. NetBIOS over TCP/IP gateway for RAS (WH1160N020601)
bulletInternet: RAS audio acceleration (WH1262N020701) 

More information

Related white papers

bulletConnecting remote users to your network
bulletInternet Authentication Service (IAS) for Windows 2000

Microsoft support articles

bulletSupport webcast: Windows 2000: Routing and remote access
bulletDescription of remote access wizards (Q256644)
bulletHow to improve data transfers over RAS, RRAS, or slow links (Q151996)
bulletHow to determine whether a client is connected by RAS or LAN (Q173530)
bulletDescription of the functions of Remote Access Auto Connection Manager service and Autodial (Q254181)
bulletHow to enable automatic logon to a RAS server (Q244734)
bulletHow to keep RAS connections active after logging of (Q158909)
bulletChange in remote access behavior with Windows 2000 (Q254231)
bulletRouting and remote access limitations in Windows 2000 (Q254239)
bulletManaging user access on a remote access server in a workgroup (Q254169)
bulletUsing Windows NT 4.0 RAS servers in a Windows 2000 domain (Q240855)
bulletEnable Windows NT 4.0-based RAS servers in a Windows 2000-based domain (Q254311)
bulletWindows 2000-based remote access server in a Windows NT 4.0-based domain cannot authenticate users from trusted Windows 2000-based domains (Q254155)
bulletCreating a remote access server for a Windows 2000-based server in a workgroup (Q254316)
bulletDial-in profile now includes security-strength options on remote access policy 'encryption' tab (Q254158)
bulletRAS server silently enables IP forwarding on all interfaces (Q262083)
bulletRAS servers using TCP/IP and dynamic addresses need WINS (Q161427)
bulletHow to disable NetBIOS on an incoming remote access interface (Q296379)
bulletHow to set the number of rings for RAS auto-answer in Windows NT4.0/Windows 2000 (Q145879)
bulletHow to set up remote access for an intranet (Q301193)
bulletScheduling a RAS connection using the AT command (Q174769)
bulletUsing the comand Netsh to locally configure Windows 2000-based remote access servers or routers (Q254184)
bulletHow Windows NT RAS handles auto disconnect (Q181431)
bulletEnabling fragmentation check in Routing and Remote Access (Q254187)
bulletRAS connection uses credentials of currently logged on user (Q233221)
bulletRAS server behavior when configured to use DHCP to assign IP addresses (Q216805)
bulletUnderstanding DHCP IP address assignment for RAS clients (Q160699)
bulletHow to use DHCP to provice RAS clients with DHCP options (Q232703)
bulletPRB: DHCP may fail when TCP/IP is bound first to RAS (Q142311)
bulletPushing the DNS domain name to remote access and demand-dial clients (Q254183)
bulletHow to prevent Windows 2000 from assigning WINS and DNS addresses to RAS clients (Q232651)
bulletRAS clients receive 127.0.0.1 for DNS server address (Q254715)
bulletWindows 2000 remote access clients enforce mutual authentication with Extensible Authentication Protocol and Transport Layer Security (EAP/TLS) and MSChapV2 (Q254318)
bulletProblem using same IP address for RAS and network card (Q132504)
bulletRAS client cannot browse RAS server with IPX only (Q148154)
bulletCannot connect to any resources over a RAS link using IPX (Q242358)
bulletPPTP connection fails between Windows NT RAS & Unix client (Q150581)
bulletRAS/RRAS configuration does not hang up during set idle time (Q289159)
bulletModems do not answer a RAS server (Q157827)
bulletUsing an unsupported modem with Windows NT RAS (Q150424)
bulletError 692 using 3Com impact ISDN modem with RAS (Q151232)
bulletRAS error 633 is cited when you use a second ISDN adapter's dial-in networking connection (Q227366)
bulletMotorola BitSurfr Pro or Pro EZ parameters for use on RAS servers (Q199241)
bulletWindows 2000 RAS error 734 with a Bianca/Brick-XS multiple-protocol router (282795)
bulletPossible causes of RAS TCP/IP error 733 over PPP (Q168720)
bulletCannot disconnect active remote access server (RAS) connection with terminal services enabled (Q237288)
bulletRDP client can lose connection to terminal server if terminal server initiates a RAS session to a remote server (Q242051)
bulletCannot connect to a RAS server at 56 Kbps (Q244390)
bulletRAS clients cannot connect to Windows 2000 demand-dial router interface (Q262357)
bulletLogging on to a domain does not work from Windows 2000-based RAS client (Q269119)
bulletEvent 20048 logged byte values are '0' if RAS disconnected is by user (Q282078)
bulletEvent 4102 on Routing and Remote Access Server (Q171168)
bulletRemote access clients may not receive domain-based policy in Windows 2000 (Q227619)
bulletRouting and remote access server stops authenticating dial-up network clients (Q227747)
bulletErr msg: Error starting Remote Access Service on <Server_Name> (Q106204)
bulletCorrection of Windows 2000 help information on defining a policy to deny remote access permissions in a mixed-domain (254170)
bulletWindows 2000 remote access clients enforce mutual authentication with Extensible Authentication Protocol and Transport Layer Security (EAP/TLS) and MSChapV2 (Q254318)
bulletThe routing and remote access service incorrectly logs client termination as an admin reset (Q265248)
bulletApplying a hisecweb.inf template to a web server prevents the routing and remote access service from starting (Q272978)
bulletThe access to the internet may be unsuccessful when you use routing and remote access service (Q279909)
bulletDial-on-demand settings do not take effect after making changes within routing and remote access (Q279926)
bulletError message occurs when attempting to log on to a remote access server (Q281705)
bulletOnly the offline files are displayed when you use a remote access or virtual private network connection (Q290523)
bulletSecondary WINS server information is lost after DHCP inform packet is received on a remote access connection (Q296718)
bullet How to install Connection Manager Administration Kit on Windows 2000 Professional (Q271310)

Links

bulletRouting and remote access links (Microsoft)
bulletExpanding and securing remote client access (TechNet)
bulletProviding dial-up client access (TechNet)
bullet What's new in Routing and Remote access ? (Windows 2000 june 2001)
bulletConfiguring RAS in a mixed environment (Windows 2000 magazine May 2001)
bulletRAS meets terminal services (Windows 2000 magazine jan 2001)
bulletUnattended RRAS installations part 1 (Windows 2000 magazine)
bulletUnattended RRAS installations part 2 (Windows 2000 magazine)
bulletRRAS and DHCP leasing (Windows 2000 magazine Windows 2000 winter 2000)
bulletCreating remote access policies (Windows 2000 magazine oct 2000)
bulletWindows 2000 Prof. on the road, part 1 (Windows 2000 mag. jun 2000)
bulletWindows 2000 Prof. on the road, part 2 (Windows 2000 mag jul 2000.)
bulletRadical RAS solutions (Windows 2000 magazine mar 2000)
bullet Using Windows 2000 IAS for remote access solutions (Windows .NET magazine)
bullet RADIUS protocol security and best practices (Microsoft)
bulletWindows 2000 authentication protocols (Windows 2000 oct 1999)
bulletRouting and remote access (Swynk)
bulletRAS links on Labmice
bullet Windows 2000 Professional RAS (BrainBuzz)
bulletRAS FAQ
bullet The connection manager administration kit and the customization process (Microsoft)
bullet Access server requirements for interoperability with the internet authentication service (Microsoft)

Search Windows 2000 knowledge base (on title)

bulletSearch for 'ras' in knowledge base
bulletSearch for 'eap' in knowledge base
bulletSearch for 'chap' in knowledge base
bulletSearch for 'pap' in knowledge base
bulletSearch for 'spap' in knowledge base
bulletSearch for 'md5' in knowledge base
bulletSearch for tlsl' in knowledge base

Last update : 3 September 2002