PPTP VPN Server problem.

Discussion in 'Server Operation' started by gtkspert, Apr 19, 2007.

  1. gtkspert

    gtkspert New Member

    Hello, I'm Liam.

    I'm having some issues with a pptp vpn that i've setup.
    The vpn connects, gets an ip, all ok.

    But data transfer is slow - 5 - 9kb/s.
    The vpn is on my local internet connection, but I've got a 1meg upstream, 5meg down. I even tested it locally using my 100meg LAN, but it still runs at 5-9kb/s.

    This is starting to bug me!
    I've googled, but most people have slow actual link's, not VPN's.

    Any help is much appreciated,
    Many Thanks, Liam.

    PS: I'm running debian 4.0, if that was anyone's next question :)
     
  2. alxgomz

    alxgomz New Member

    Qos?

    Hello Liam....
    this is weared... I have a similar setup which just runs fine (let's say as well as it can..)

    It looks like you some QOS based management badwidth setup!? (you or your ISP)
     
  3. gtkspert

    gtkspert New Member

    Hmm

    Thanks for the reply,
    I dont think my isp would do that to me though :(

    I tested it on my LAN locally anyway, and it's still really slow.
    Perhaps i'll try removing MPPE-128 encryption.

    Thanks,
    Liam.
     
  4. alxgomz

    alxgomz New Member

    mppe

    well I never heard about mppe slowing down the transfert rate through thr tunnel but you can try. Right!
    does dmesg or the debug options of both pptp and pppd tells something interesting?
    Maybe you can try to adjust your mtu / mru (using ping -s XXXX <point-to-point host>)
     
  5. gtkspert

    gtkspert New Member

    Hi,
    The connection seems to run fast at first, then drops down to these speeds.
    Ping times are good 0.168... But actual data throughput is bad...
    Actually this time, the vpn has just stopped completely, it downloaded about 200k of the test file, then slowed down to a complete stop.

    This is starting to bug me now...
    I might have to lookup other vpn solutions...

    Thanks,
    Liam.
     
  6. alxgomz

    alxgomz New Member

    did you trydisabling mppe encryption?

    if it can help, here is my pptp.conf and ppp option file:

    pptp.conf##################
    option /etc/ppp/pptpd-options
    debug
    logwtmp
    bcrelay eth2
    localip 10.250.0.220
    #########################

    ppp otion file###############
    plugin radius.so
    plugin radattr.so
    name pptpd
    refuse-pap
    refuse-chap
    refuse-mschap
    require-mschap-v2
    require-mppe-128
    ms-dns 10.250.0.15
    ms-wins 10.250.0.2
    proxyarp
    nodefaultroute
    debug
    lock
    nobsdcomp
    ########################
     
  7. gtkspert

    gtkspert New Member

    I tried the no mppe, but it didnt help at all :(

    Thanks for your config file, mine appears almost identical, well, except the radius authentication.

    I'm looking into an IPSEC tunnel now, we'll see how that goes perhaps...

    Thanks for your help, it's much appreciated.
    Liam.
     

Share This Page