FAQ

Here is the beginnings of a FAQ for the pptpd program begun with massive plagiarism from the Troubleshooting section of the PopToP-RedHat-HOWTO. If you have any additions or answers to provide, please email them to me at pdvb_pptpd@vibtest.com

Example PPTPD Configuration

Here is an example installation and configuration procedure for pptpd, pppd, and ppp_mppe:
Example

Search the pptp-server mailing list archives

Lycos

PPTPD patch to implement packet reordering

This patch implements a simple packet reordering scheme in PPTPD. The patch must be applied to the pptpd-1.1.1 source code. This patch also adds the infinite loop fix from version 1.0.1 to the version 1.1.1 source.
pptpd-1.1.1-reorder.diff
To apply this patch:
  1. cd /usr/src/pptpd-1.1.1
  2. patch -p1 < pptpd-1.1.1-reorder.diff
  3. ... Then rebuild and reinstall pptpd and pptpctrl

ppp_mppe.c patch to fix Compressed Data bug

This fix was made by David Wragg, and posted as a complete ppp_mppe.c file on the pptp-server mailing list by Philip Willoughby. It fixes the problem where an encrypted link fails to re-sync after a dropped packet, and therefore causes the VPN link to stop transmitting or receiving any data. The symptom of this bug is lines similar to the following in your /var/log/debug log file.
Sep 27 00:03:15 gateway pppd[10544]: rcvd [Compressed data] 10 32 ae 68 c0 8e e1 92 ...
I took the liberty of doing the diff on the file to make a patch file with just the one change that fixes the problem. This patch file is as follows:
ppp_mppe_compressed_data_fix.diff
To apply this patch:
  1. cd /usr/src/linux/drivers/net
  2. patch < ppp_mppe_compressed_data_fix.diff
  3. ... Then rebuild and reinstall the ppp_mppe module