Windows NT 4.0 Remote Access Service (RAS) Configuration Guide
Introduction
Remote Access Service (RAS) enables Windows NT Server 4.0 to accept incoming dial-up connections and provide network access to remote users. This guide covers installation, configuration, security, and troubleshooting of RAS.
Understanding RAS
RAS Components
- RAS Server: Accepts incoming connections
- RAS Client: Dials into RAS servers
- Protocols: PPP, SLIP (legacy)
- Authentication: PAP, CHAP, MS-CHAP
- Supported Connections: Modem, ISDN, X.25
Use Cases
- Remote employee access
- Branch office connectivity
- Telecommuter support
- Emergency access
- Vendor connections
Installing RAS
Prerequisites
- Windows NT Server 4.0
- Modem or ISDN adapter
- Available COM port or multiport card
- Phone lines for dial-in
Installation Process
-
Add RAS Service
Control Panel → Network → Services → Add Select "Remote Access Service" Insert NT Server CD Click OK
-
Detect Hardware
- RAS setup detects modems
- Or manually add devices
-
Configure each port
-
Port Configuration
Remote Access Setup Add → Select Port (COM1, COM2, etc.) Configure → Usage: [ ] Dial out only [ ] Receive calls only [X] Dial out and Receive calls
-
Network Configuration ``` Network → Configure
Protocols: [X] NetBEUI [X] TCP/IP [X] IPX
Encryption settings: [X] Allow any authentication including clear text [ ] Require encrypted authentication [ ] Require Microsoft encrypted authentication ```
Modem Configuration
-
Install Modem
Control Panel → Modems Add → Detect or manual selection Select COM port
-
Modem Properties
Maximum speed: 115200 (for 56K modems) [ ] Only connect at this speed [X] Enable hardware flow control [ ] Enable modem error control [ ] Enable modem compression
Configuring RAS Server
Basic Configuration
- Server Settings ``` Remote Access Admin → Server → Configuration
Total ports configured: 4 Ports in use: 0 Total Remote Access Clients: 0 ```
- Port Status
Port Status User Started COM1 Inactive - - COM2 Inactive - -
Protocol Configuration
TCP/IP Settings
- IP Address Assignment ``` RAS Setup → Network → TCP/IP Configure
Allow remote TCP/IP clients to access: [X] This computer only [ ] Entire network
IP address assignment: [ ] DHCP server [X] Static address pool Begin: 192.168.100.1 End: 192.168.100.50 ```
- Client Settings
[ ] Allow remote clients to request predetermined IP [X] Assign same IP to client each time
NetBEUI Configuration
Allow remote NetBEUI clients to access:
[X] This computer only
[ ] Entire network
IPX Configuration
IPX Network Number Assignment:
[X] Allocate automatically
[ ] Allocate same number to all clients
Network Number: [________]
Security Configuration
Authentication Methods
- Configure Authentication ``` Network Configuration → Encryption settings:
[ ] Allow any authentication including clear text [ ] Require encrypted authentication [X] Require Microsoft encrypted authentication [ ] Require data encryption ```
- Authentication Protocols
- PAP: Password Authentication Protocol (clear text)
- CHAP: Challenge Handshake Authentication Protocol
- MS-CHAP: Microsoft encrypted authentication
- MS-CHAP v2: Stronger encryption (with SP4+)
User Permissions
- Grant Dial-in Permission ``` User Manager → User Properties → Dialin
[X] Grant dialin permission to user
Call Back: ( ) No Call Back ( ) Set By Caller ( ) Preset To: [phone number] ```
- RAS Groups Create groups for RAS users:
- RAS_Users
- RAS_Admins
- RAS_Callback
Callback Security
Benefits of callback: - Verifies user location - Reduces phone charges - Additional security layer
Configuration options: 1. No Callback: Standard connection 2. Set By Caller: User specifies number 3. Preset To: Fixed callback number
Managing RAS
Remote Access Admin Tool
-
Start RAS Admin
Start → Programs → Administrative Tools → Remote Access Admin
-
Monitor Active Users ``` Shows:
- Connected users
- Connection time
- Port usage
-
Protocol information ```
-
Disconnect Users
- Select user
- Server → Disconnect User
- Or send message before disconnect
Port Management
- View Port Status ``` Communication Ports shows:
- Port name
- Status (Active/Inactive)
- Connected user
-
Duration ```
-
Reset Port
- Select port
- Port → Reset
- Clears hung connections
Logging and Auditing
-
Enable Logging
Registry: HKLM\System\CurrentControlSet\Services\RemoteAccess\Parameters Logging = 1 (Enable)
-
Log File Location ``` %SystemRoot%\System32\RAS\
- DEVICE.LOG (Modem commands)
-
PPP.LOG (PPP negotiation) ```
-
Event Log Entries Monitor System Log for:
- Service start/stop
- Authentication failures
- Connection errors
RAS Client Configuration
Windows NT/95/98 Clients
-
Create Phonebook Entry
Dial-Up Networking → New Name: Corporate RAS Phone Number: 555-1234 Device: Standard Modem
-
Configure Protocols
Server Type → Dial-Up Server Type Type: PPP Protocols: [X] NetBEUI [X] IPX/SPX Compatible [X] TCP/IP
-
TCP/IP Settings
TCP/IP Settings: [X] Server assigned IP address [X] Server assigned name server addresses [ ] Use IP header compression [ ] Use default gateway on remote network
Security Settings
-
Authentication
Security → Authentication [X] Accept any authentication including clear text [ ] Accept only encrypted authentication [ ] Accept only Microsoft encrypted authentication
-
Data Encryption
[ ] Require data encryption
Advanced Configuration
Multilink PPP
For combining multiple lines:
-
Enable Multilink
RAS Properties → Enable Multilink
-
Configure Channels
- Add multiple modems
- Configure for same phone number
- Set bandwidth allocation
RADIUS Authentication
For centralized authentication:
- Install RADIUS Client
- Third-party solution required
- Configure RADIUS server IP
-
Set shared secret
-
Benefits
- Centralized user management
- Detailed accounting
- Multiple RAS server support
Virtual Private Networking (PPTP)
Basic VPN with PPTP:
-
Install PPTP
Network → Protocols → Add Point to Point Tunneling Protocol Number of Virtual Private Networks: 5
-
Configure RAS for PPTP
Remote Access Setup Add → VPN1-RASPPTPM Configure for incoming only
-
Security Considerations
- Use MS-CHAP authentication
- Enable encryption
- Limit network access
Performance Optimization
Hardware Considerations
- Modem Pool Design
- Use identical modems
- External modems for easier management
- Consider multiport serial cards
-
Digital lines (ISDN/T1) for high volume
-
Server Specifications
- Pentium processor minimum
- 64 MB RAM + 1 MB per connection
- Separate disk for logs
- Quality serial ports
Network Optimization
- Protocol Selection
- Use single protocol when possible
- TCP/IP most efficient
-
Disable unnecessary protocols
-
Compression Settings
- Enable software compression
- Hardware compression in modems
- Balance CPU vs. bandwidth
Connection Pooling
For ISPs and large deployments:
Create modem pools:
- Hunt groups from telco
- Rotary configuration
- Load balancing
Security Best Practices
Access Control
- Limit RAS Access
- Only grant to required users
- Use RAS-specific groups
-
Regular access reviews
-
Strong Authentication
- Require MS-CHAP minimum
- Consider two-factor (callback)
-
Complex password requirements
-
Network Restrictions ``` Options:
- This computer only
- Specific network segments
- No NetBIOS browsing ```
Monitoring
- Regular Auditing
- Review connection logs
- Check for unusual patterns
-
Monitor failed authentications
-
Alerts
- Configure Performance Monitor alerts
- Script to check active connections
- Email notifications for events
Security Checklist
- [ ] Disable PAP authentication
- [ ] Enable encryption requirements
- [ ] Configure callback where appropriate
- [ ] Limit simultaneous connections
- [ ] Regular password changes
- [ ] Monitor logs daily
- [ ] Test incident response
Troubleshooting RAS
Common Connection Issues
Error 629: Connection Dropped
Causes: - Line quality issues - Incorrect modem settings - Authentication problems
Solutions: 1. Check phone line quality 2. Reduce modem speed 3. Update modem drivers 4. Verify authentication settings
Error 691: Authentication Failed
Causes: - Incorrect credentials - No dial-in permission - Account restrictions
Solutions: 1. Verify username/password 2. Check dial-in permissions 3. Review account status 4. Check authentication protocols
Error 678: No Answer
Causes: - Wrong phone number - RAS service not running - Modems not answering
Solutions: 1. Verify phone number 2. Check RAS service status 3. Test modems manually 4. Review port configuration
Diagnostic Tools
-
Device.log Analysis
Enable: Set Logging=1 in Registry Location: %SystemRoot%\System32\RAS\DEVICE.LOG Shows all AT commands and responses
-
PPP.log for Protocol Issues
Enable: Set Logging=1 in Registry Shows PPP negotiation details Useful for protocol mismatches
-
Network Monitor
- Capture RAS traffic
- Analyze authentication
- Check protocol negotiation
Performance Issues
Slow Connections
- Check line quality
- Verify modem settings
- Review compression settings
- Monitor server resources
Frequent Disconnections
- Set idle timeout appropriately
- Check for line noise
- Update modem firmware
- Review error correction settings
Best Practices Summary
- Planning
- Size appropriately for users
- Plan for growth
- Consider backup connections
-
Document configurations
-
Security
- Use strongest authentication available
- Implement callback where possible
- Regular security audits
-
Monitor all connections
-
Maintenance
- Regular log reviews
- Test failover procedures
- Update modem firmware
-
Monitor performance metrics
-
User Support
- Create setup documentation
- Provide client configuration files
- Establish help desk procedures
- Train support staff
Conclusion
RAS provides essential remote connectivity for Windows NT 4.0 networks. Proper configuration ensures secure, reliable access for remote users while maintaining network security. Regular monitoring and maintenance keep the service running smoothly. As technology evolves, consider migration paths to VPN solutions for enhanced security and functionality.