This is a general pptp vpn access. The intermediate VPN Server is generally served by Windows server. Here we use CiscoRouter Uter to replace Windows server as the PPTPVPN access server. Ipcef // to support MPPE, you must enable CEF! Vpdnenable! Vpdn-groupvpdn & nbs
This is a general pptp vpn access. The intermediate VPN Server is generally used by Windows Server. Here we use Cisco Router to replace Windows Server as the pptp vpn access Server.
Ip cef // to support MPPE, you must enable CEF
!
Vpdn enable
!
Vpdn-group vpdn
Accept-dialin
Protocol pptp
Virtual-template 1
!
Username fuck password 0 fuck // configure the pptp dialing user name and password
!
Interface FastEthernet0/0
Ip address 192.168.10.10 255.255.255.0
!
Interface FastEthernet0/1
Ip address 10.10.10.1 255.255.255.0
!
Interface Virtual-Template1
Ip address 255.255.255.254 255.255.0 // This address is the gateway of the VPN virtual port, that is, the default gateway after the client is successfully dialing
Peer default ip address pool DHPOOL
Ppp encrypt mppe 40 // configure the MPPE protocol for Data Encryption
Ppp authentication ms-chap // configure the PPP password for authentication using the ms-chap protocol
!
Ip local pool DHPOOL 255.255.20.1 255.255.255.255.200 // define a local address pool and assign an address to the client that is dialed in.
The configuration here can be flexibly implemented, such as username and password authentication on AAA, enabling DHCP server, rather than configuring the address pool locally
The 255.255.255.254 configured here serves as the default gateway of the client after successful dialing.
Final authentication:
Authenticate on winxp and create a VPN connection
Note: here you should set to encrypt the password using the MS-CHAP protocol in the security of the created Dial property (but it doesn't matter if you don't set it because it is enabled by default)
Dial:
Last connection successful
Packet Capture allows you to view the packets authenticated by PPTP.