

Linux (Tested On Slackware 9.0):
Latest downloads available at http://prdownloads.sourceforge.net/pptpclient/.
Linux kernel 2.4.21 available here.
1) Install PPP with the MPPE update (ppp-2.4.2_cvs_20021120.tar.gz).
Next, execute the kernel update script with the command 'mppeinstall.sh /usr/src/linux' (located in the linux/mppe directory).
2) Rebuild your kernel now and make sure to enable (best to put right in the kernel) the following under Network Device Support:
- PPP (point-to-point protocol) support
- PPP support for async serial ports
- PPP support for sync tty ports
- PPP Deflate compression
- PPP BSD-Compress compression
- PPP MPPE compression (encryption) !!!! THIS MUST BE COMPILED AS A MODULE !!!!
- PPP over Ethernet
3) Reboot and load your new kernel, ensure that PPP and the MPPE module exist, and load properly (try 'modprobe ppp_mppe', should produce a kernel taint warning but still load successfully).
4) Check for MPPE support in pppd by running "strings `which pppd`|grep -i mppe|wc --lines", the result should be around 38, a 0 indicates no MPPE support. If not present, recheck your PPP installation!
5) Install the PPTP client (pptp-linux-1.3.1.tar.gz) from source if it is not already installed.
6) Download the basic PPTP client (pptp-linux-1.1.0-1.tar.gz) from http://prdownloads.sourceforge.net/pptpclient/, unpack it and copy:
- pptp-command program to /usr/sbin
- options.pptp to /etc/ppp
** Modify the options.pptp file as follows:
- Comment out the mppe-40, mppe-128 and mppe-stateless lines
- Insert the following lines underneath those just commented out:
- require-mppe
- nomppe-stateful
- refuse-pap
- refuse-chap
7) Create a directory to store your PPTP configuration: /etc/ppp/peers.
8) Configure the PPTP connection:
- Configure the PPTP tunnel by running pptp-command and select the following:
- 3.) setup
- 4.) Add a NEW PPTP Tunnel
- 1.) Other
- RCCStudentsNetwork
- 10.100.0.1
- students\\my.username
- PPTP
- 8.) Quit
- Edit the /etc/ppp/peers/RCCStudentsNetwork file and add in the line below the line 'remotename PPTP':
pty "pptp 10.100.0.1 --nolaunchpppd"
9) Configure your CHAP-SECRETS file with the pptp-command script:
- 3.) setup
- 1.) Manage CHAP secrets
- 2.) Add a New CHAP secret
- students\\my.username
- PPTP
- Enter your password here
- 4.) Quit
- 8.) Quit
10) Make pptp setuid root with the command: chmod u+s `which pptp`
11) Test your new PPTP tunnel by running: 'pppd call RCCStudentsNetwork dump debug logfd 2 nodetach'.... This should spit a bunch of information out to the screen, if successful you will get result from 'ifconfig ppp0'
12) You can now start the VPN connection whenever/however you like (startup script perhaps?) by executing the two following commands:
- pppd call RCCStudentsNetwork
- route add default gw 10.100.100.10









Users browsing this forum: No registered users and 0 guests