Pptp server configuration and management-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Required software:
Ppp-2.4.3-5.fc4.i386.rpm (more stable with ppp-2.4.4b1)
Pptpd-1.3.1-0.i386.rpm
2. Upgrade the internal renewal Module
First check whether mppe function: modprobe ppp-compress-18 & echo OK
If OK is displayed, the kernel already supports mppe. If not, install:
Dkms-2.0.6-1.noarch.rpm
Kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
For low-end users, the kernel is installed with kernelmod-0.7.1.tar.gz (kernel source code is required)
3. Install ppp
Download the latest ppp software package from the URL above. Use the most common methods for source package: configure, make, and make install. Note: The new version does not copy the sample configuration file. You need to use make install-etcppp to install the sample configuration file. General available rpm software package:
Rpm? Fvl ppp-2.4.3-5.fc4.i386.rpm
4. Install pptpd
Download the latest pptp software package from the above URL. Use the most common methods for source package: configure, make, and make install. The pptp software package is generally used: pptpd-1.3.1-0.i386.rpm
5./etc/pptp. conf:
Ppp/usr/local/sbin/pppd
Option/etc/ppp/options.ppt pd
Bcrelay eth0
# Listen 0.0.0.0
Localip 192.168.x.x
Remoteip 192.168.x.1-254
Netmast 255.255.255.0
6./etc/ppp/options.ppt pd content is as follows:
Lock
Dump
Logfd 2
Logfile/var/log/pptpd. log
Name pptpserver
Proxyarp
Auth
Mtu 1450
Nobsdcomp
Require-mschap-v2
# Require-mppe-128
Require-mppe
Ipparam options.ppt pd
Ms-dns 192.168.x.x
Ms-dns 202.86.252.254
7./etc/ppp/ip-up content is as follows:
#! /Bin/bash
# This file shoshould not be modified -- make local changes
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.