Setting up Microsoft compatible encryption and authentication with PoPToP
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.
Grab youself the MSCHAP/MPPE diff file and the RC4 files (see README.MPPE of the diff file).
Follow these instructions:
Note: [] are example commands to run
- extract the archive to your local file system [tar zxvf 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)
Setup your Windows client to support data encryption. Run PoPToP and connect!
PoPToP Home Page