You are not logged in.

#1 2015-03-12 16:06:11

pyed
Member
Registered: 2013-09-01
Posts: 4

why pptpd is way slower than openvpn ?

Hi,

I have a server with 100Mbs up and down, so it's fast enough, it's running archlinux, and I have installed and configured both pptpd and openvpn, and they both up and running.

but when I connect through PPTP and try to download something (to max out the connection) I get poor speed, around 200-300Kb/s

in the other hand, when I connect through OpenVPN and try to download the same thing, I almost max my speed at 2Mb/s

any ideas why this happens ?


here's my /etc/pptpd.conf

# Read man pptpd.conf, see samples in /usr/share/doc/pptpd
# and write your pptpd configuration here

# TAG: option
#       Specifies the location of the PPP options file.
#       By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/options.pptpd

# log connections
logwtmp

# ip ranges for local and remote
localip 192.168.1.2
remoteip 192.168.1.234-238,192.168.1.245

and here's my /etc/ppp/options.pptpd

# The name of the local system for authentication purposes
name pptpd

# Refuse PAP, CHAP or MS-CHAP connections but accept connections with
# MS-CHAPv2 or MPPE with 128-bit encryption
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128

# Add entry to the ARP system table
proxyarp

# For the serial device to ensure exclusive access to the device
lock

# Disable BSD-Compress and Van Jacobson TCP/IP header compression
nobsdcomp
novj
novjccomp

# Disable file logging
nolog

# DNS servers for Microsoft Windows clients. Using Google's public servers here
ms-dns 8.8.8.8
ms-dns 8.8.4.4

Offline

Board footer

Powered by FluxBB