VPN setup
- requirements:
- unpack all archives
- build kernel:
- cd /usr/src/linux
- patch the kernel: patch -n1 -i ../linux-2.4.19-openssl-0.9.6b-mppe.patch
- make mrproper
- make menuconfig
- make dep
- make bzImage
- make modules
- make modules_install
- build ppp:
- cd /usr/src/ppp-2.4.1
- patch ppp: patch -n1 -i ../ppp-2.4.1-openssl-0.9.6-mppe.patch
- ./configure
- make
- make install
- build pptpd:
- cd /usr/src/pptpd-1.1.3
- ./configure
- make
- make install
- /etc/pptpd.conf:
speed 115200
localip 192.168.1.6-10
remoteip 192.168.1.18-20
debug
- /etc/ppp/options:
debug
lock
# set local machine name for auth purposes
name myServerName
require-chap
auth
proxyarp
# require the peer to authenticate itself usinc chap
+chap
+chapms
+chapms-v2
mppe-128
mppe-stateless
- /etc/ppp/chap-secrets:
# client server secret IP addresses
myUserName myServerName myPassword *
- /etc/syslog.conf: add the following
daemon.debug /var/log/pptpd.log
- /etc/modules.conf: add the following
alias ppp-compress-18 ppp_mppe
- start using the new kernel
tail -f /var/log/pptpd.log
/usr/local/sbin/pptpd
- make the VPN connection from the client machine
- disable IP header compression
- set MS Chap and MS Chap v2
- set require encryption
Updated 2003-06-04