Error when using PPTP server on VPS: compressor dropped pkt

May 3, 2014 3.7k views
Hello, when setting up my VPN I used this tutorial: https://www.digitalocean.com/community/articles/how-to-setup-your-own-vpn-with-pptp It works but when I connect to it, it is very slow and only a few websites load. I have gone and viewed the logs file for errors and it says: PPP: compressor dropped pkt I've tried the same thing on another droplet but I get the same problem. Also, I have tried searching Google but the only results I get aren't for Ubuntu. If anyone has any advice I'd appreciate it and follow through. For the time being, I am using openvpn connect.
3 Answers
Hey guys, I've fixed the problem, You've gotta do:

Below is my workaround script, place it into file '/etc/ppp/ip-up.d/mppefixmtu' and ensure that it is executable ('chmod +x mppefixmtu'):

#!/bin/sh
CURRENT_MTU="`ifconfig $1 | grep -Po '(?<=MTU:)([0-9]+)'`"
FIXED_MTU="`expr $CURRENT_MTU + 4`"
ifconfig $1 mtu $FIXED_MTU
echo "Increased MTU for $1 to $FIXED_MTU (from $CURRENT_MTU) to fix MPPE Microsoft Point-to-Point bug #330973"

Taken from: http://danielsokolowski.blogspot.com/2013_04_01_archive.html
The comment's didn't work so just go to: http://danielsokolowski.blogspot.com/2013_04_01_archive.html

Hello,

I had the same problem on centos 6.5, some pages simply wont load, however I just added

ifconfig $1 mtu 1400

to /etc/ppp/ip-up and it worked

Have another answer? Share your knowledge.