RHCE topic learning-PPTP Configuration

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.