Quick configuration of pptp in linux

Source: Internet
Author: User
Quick configuration of pptp-linux Enterprise Application-Linux server application information in Linux. The following is a detailed description. Because OpenVPN uses an ssh vpn, Windows Default VPN does not support this VPN type. Therefore, pptpd servers can be used as Windows VPN servers.

Install
Sudo apt-get install pptpd

The configuration file is as follows:
VI/etc/pptpd. conf is as follows:
Option/etc/ppp/options.ppt pd
Logwtmp
Localip 192.168.2.1-4
Remoteip 192.168.1.234-238
VI/etc/ppp/options.ppt pd
Debug
Name pptpd
Require-chap
Proxyarp
VI/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# Client server secret IP addresses
Test pptpd test *

Enable PoPToP:
Cd/etc/init. d

Sudo./pptpd start

Key points for setting WIN2K and winxp on the client
1. Create a new "network and dial-up connection", and select "connect to VPC through the Internet (V)" as the network connection type )"
2. Enter the host name or IP Address:
3. Account input: test, password input: test (see the above/etc/ppp/chap-secrets file)
4. What are the "attributes" of the connection "?? Select "Advanced (custom settings)" for "Security Measures )"?? "Set"
Data Encryption: Select "optional encryption (no encryption or connection )"
Protocol allowed: Make sure that "Challenge Handshake Authentication Protocol (CHAP)" is selected.

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.