Beruflich Dokumente
Kultur Dokumente
This article explains how to install and configure a windows compatable PPTP vpn server on Linux (with rpm support).
We will be using PoPToP with MPPE encryption
1. Download and install the following files. You can download from here or you can find the files at Sourceforge
ppp-mppe-2.4.1-.i386.rpm
pptpd-1.1.4-b4.i386.rpm
ppp-2.4.2-b3.i386.rpm
2. Download the kernel patch and patch your kernel for the MPPE encryption. You can download from here or you can
find the files at Sourceforge
kernelmod-0.7.1.tar.gz
when this is completed, display your module list and you should see the following modules loaded
[root]# lsmod
ppp_mppe 13976 0 (unused)
ppp_generic 24572 0 [ppp_mppe]
slhc 6596 0 [ppp_generic]
/etc/pptpd.conf
-------------------------------------------------
debug
option /etc/ppp/options.pptpd
localip 172.16.0.3
remoteip 172.16.0.100-235
/etc/ppp/options.pptpd
-------------------------------------------------
lock
debug
name pptpd
bsdcomp 0
proxyarp
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe
ms-wins 172.16.0.3
ms-dns 172.16.0.3
http://linux-bsd-central.com - Linux-BSD-Central Powered by Mambo Open Source Generated: 15 December, 2006, 11:50
/etc/ppp/chap-secrets
-------------------------------------------------
# client server secret IP addresses
user1 pptpd password *
user2 pptpd password *
5. Start pptpd
[root]# /etc/init.d/pptpd start
http://linux-bsd-central.com - Linux-BSD-Central Powered by Mambo Open Source Generated: 15 December, 2006, 11:50