[pptp-server] installing MSCHAP/MPPE PPPD patch

Matthew Ramsay matthewr at moreton.com.au
Wed Jul 7 18:33:57 CDT 1999


This is cut out of the poptop howto/faq.. the howto is not finished.. at
the moment it is a big mess. any feedback on these instructions most
welcome. also i'd like to hear about anyone having success with this
under win98 and NT. see below! -matt

3.1 Installing MSCHAP/MPPE PPPD Patch

Grab yourself a clean copy of the PPP deamon version 2.3.8 (ppp-2.3.8).
I
usually go here for my PPP files: ftp://cs.anu.edu.au/pub/software/ppp/

Grab youself the MSCHAP/MPPE diff files and the RC4 files

Follow these instructions:
Note: [] are example commands to run

* extract the archive to your local file system [tar xvzf
ppp-2.3.8.tgz].
* copy the MSCHAP/MPPE diff file to ppp-2.3.8/
* copy the RC4 files (rc4.h and rc4_enc.c) to ppp-2.3.8/linux/
* [cd ppp-2.3.8]
* extract the diff file [gunzip ppp-2.3.8-mppe-others-norc4_TH7.diff.gz]
* patch the diff [patch -p1 < ppp-2.3.8-mppe-others-norc4_TH7.diff]
* [./configure]
* [cd linux]
* [./kinstall.sh]
* [cd ..]
* [make]
* make a backup of your pppd if your so inclined
* copy the new pppd over the old one [cat pppd/pppd > `which pppd`]
* [cd /usr/src/linux]
* [make modules SUBDIRS=drivers/net]
* [make modules_install]
* [rmmod ppp]
* [insmod ppp]
* [insmod ppp_mppe]

Here is an example PPP options file (/etc/ppp/options):

lock
debug
auth
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless


Here is an example chap-secrets file (/etc/ppp/chap-secrets)

username * password *


Setup your Windows client to support data encryption. Run PoPToP and
connect!




More information about the pptp-server mailing list