Cisco VPDN配置(Windows ***拨号软件)
r1#sh run Building configuration...Current configuration : 1360 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service tcp-small-servers
!
hostname r1
!
!
username a password 0a
ip subnet-zero
no ip domain-lookup
!
vpdn enable [启动vpdn]
!
vpdn-group vpdn [定义VPDN组,名字为vpdn]
! Default PPTP VPDN group
accept-dialin [定义允许拨入]
protocol pptp [使用pptp协议]
virtual-template 1 [使用虚拟模板 1]
!
interface Ethernet0 -------------------公网的IP
ip address 2.2.2.2 255.0.0.0
no ip route-cache
no ip mroute-cache
!
interface Virtual-Template1 [定义虚拟模板 1]
ip address 10.10.10.10 255.0.0.0 [地址]
peer default ip address pool pptp [指定点对点缺省参数]
ppp encrypt mppe 40 [使用mppe 40加密,可以选择40,128或者auto]
ppp authentication ms-chap [认证采用微软的chap方式]
!
ip local pool pptp 10.10.10.11 10.10.10.100 [配置地址池]
页:
[1]