Tuesday, 5 November 2013

Configuring the Cisco Router and VPN Clients Using PPTP and MPPE

Components Used

The information in this document is based on the software and hardware versions:
  • Cisco 2621 Router that runs Cisco IOS Software Release 12.2
  • Microsoft Windows 2000
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Network Diagram

This document uses this network setup:
pptp-ios-1.gif

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

PPTP Router Configuration

These IOS commands are applicable to all platforms that support PPTP.
2621#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

!--- Enable virtual private dial-up networking.


2621(config)#vpdn enable

!--- Enters VPDN group configuration mode for the specified VPDN group.


2621(config)#vpdn-group 1

!--- Enters VPDN accept-dialin configuration mode 
!--- and enables the router to accept dial-in requests.

2621(config-vpdn)#accept-dialin

!--- Specifies which PPTP protocol is used.

2621(config-vpdn-acc-in)#protocol pptp

!--- Specifies the virtual template that is used 
!--- in order to clone the virtual access interface.

2621(config-vpdn-acc-in)#virtual-template 1
2621(config-vpdn-acc-in)#exit

2621(config)#ip local pool test 192.168.1.1 192.168.1.250

!--- Create virtual-template interface used for cloning
!--- virtual-access interfaces with the use of address pool test
!--- with Challenge Authentication Protocol (CHAP) authentication, PAP, and MS-CHAP.

2621(config)#interface virtual-template 1

2621(config-if)#encapsulation ppp
2621(config-if)#peer default ip address pool test
2621(config-if)#ip unnumbered FastEthernet0/0
2621(config-if)#no keepalive
2621(config-if)#ppp encrypt mppe auto
2621(config-if)#ppp authentication pap chap ms-chap