Category:Cisco Systems -> Routing and Switching
PPTP Server Configuration
aaa new-model
aaa authentication ppp default local-case
user cisco privilege 0 password cisco
vpdn enable
vpdn-group VPDN-PPTP
accept-dialin
protocol pptp
virtual-template 1
exit
pptp tunnel echo 10
ip pmtu
ip mtu adjust
interface Loopback0
description - LO-PPTP -
ip address 10.10.10.1 255.255.255.0
interface Virtual-Template1
description - PPTP -
ip unnumbered Loopback0
ip nat inside
ip virtual-reassembly
autodetect encapsulation ppp
peer ip address forced
peer default ip address pool POOL-PPTP
ppp encrypt mppe auto
ppp authentication ms-chap-v2
async-bootp dns-server 10.10.1.3
ip local pool POOL-PPTP 10.10.10.2 10.10.10.50
Assign static IP addresses to PPTP clients
Single client:
aaa authorization network default local
aaa attribute list user-smith
attribute type addr "10.10.10.51" service ppp protocol ip
username smith privilege 0 password SmithsPassword
username smith aaa attribute list user-smith
Group of clients:
aaa attribute list group-managers
attribute type addr-pool "pool-managers" service ppp protocol ip
username smith privilege 0 password ManagerPassword
username smith aaa attribute list group-managers
ip local pool pool-managers 10.10.10.100 10.10.10.150
Summary:
aaa new-model
!
aaa authentication ppp default local-case
aaa authorization network default local
!
aaa attribute list user-smith
attribute type addr 10.10.10.51 service ppp protocol ip mandatory
!
username smith privilege 0 password 0 SmithPassword
username smith aaa attribute list user-smith
vpdn-group VPDN-PPTP
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
pptp tunnel echo 10
ip pmtu
ip mtu adjust
interface Virtual-Template1
ip unnumbered Loopback0
ip virtual-reassembly
autodetect encapsulation ppp
ppp encrypt mppe auto
ppp authentication ms-chap-v2