The simplest pptpd Server Installation on linux

Source: Internet
Author: User
The simplest pptpd Server Installation on linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Run rpm-qa | grep ppp to check the ppp version. The version must be 2.4.1-3 or later. Otherwise, download the new version and update it with rpm-Uvh;

2. Download pptpd-1.1.3-4.i386.rpm, rpm-ivh pptpd-1.1.3-4.i386.rpm installation;

3. edit/etc/pptpd. conf:

Speed115200

Localip 192.168.0.1 (local ip address, which can be one or more)

Remoteip 192.168.0.2-128 (remote ip, maximum number of clients simultaneously)

Pidfile/var/run/pptpd. pid

4. edit/etc/ppp/options:

Lock

Debug

Name pptpd

Auth

Require chap

Proxyarp

Bsdcomp 0

5. edit/etc/ppp/chap-secrets:

Username pptpd password * (* can also be changed to the specified ip address)

6. append a line after/etc/syslog. conf:

Daemon. debug/var/log/pptpd. log

7. Restart syslog:

Kill-SIGHUP 'cat/var/run/syslogd. Pi'

8. Start pptpd:

Pptpd

9. The debug information can be viewed in/var/log/pptpd. log.

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.