Question

amazing slow internet speeds with OPENVPN on digitalocean droplet

Posted June 25, 2016 5.2k views
UbuntuNetworkingVPN

Hi, I’m getting amazing slow internet speeds with OPENVPN on digitalocean droplet London data center !

I tried SoftEther was even slower so switched back to OPENVPN

http://www.speedtest.net/my-result/5429908851

do you throttle bandwidth on your servers down to under 2mbps downlaod per droplet ? ? really ? surely not !

I would be using way below the 1000GB per month quota here, so whats going on ?

Is this Rip off Britain strickes again , or something wrong with OpenVPN running on Droplet ?

I tried using a more powerful 1gb memory droplet and get the same results.. The best I have ever seen is 4.6mbps download. That would be fine if it was consistant but I am not even getting 500kbps half the time !

Any ideas are much welcome before I give up on digitalocean and try another VPS provider.

1 comment
  • I’ve had the same issue for quite some time. I don’t know if it a problem with openVPN and available resources on a low end droplet, something DO does with their network, or something else entirely.

    I have not yet tried to see what would happen on a comparable droplet on Linode / AWS. On DO, however, with the ~5$/mo droplet, I get:

    Where :
    pp.pp.pp.pp = public ip address of droplet.
    vv.vv.vv.vv = IP address of the droplet on it’s tun0 interface which is running the OpenVPN server.

    Raw connection speed from my machine to the droplet :

    $ iperf3 -c pp.pp.pp.pp -f m
    Connecting to host pp.pp.pp.pp, port 5201
    [ 5] local 10.12.12.8 port 49346 connected to pp.pp.pp.pp port 5201
    [ ID] Interval Transfer Bitrate Retr Cwnd
    [ 5] 0.00-1.00 sec 3.42 MBytes 28.6 Mbits/sec 0 878 KBytes

    [ 5] 1.00-2.00 sec 10.0 MBytes 83.9 Mbits/sec 671 678 KBytes

    [ 5] 2.00-3.00 sec 10.0 MBytes 83.9 Mbits/sec 1030 3.00 MBytes

    [ 5] 3.00-4.00 sec 20.0 MBytes 168 Mbits/sec 0 3.00 MBytes

    [ 5] 4.00-5.00 sec 21.2 MBytes 178 Mbits/sec 0 3.00 MBytes

    [ 5] 5.00-6.00 sec 21.2 MBytes 178 Mbits/sec 0 3.00 MBytes

    [ 5] 6.00-7.00 sec 21.2 MBytes 178 Mbits/sec 0 3.00 MBytes

    [ 5] 7.00-8.00 sec 21.2 MBytes 178 Mbits/sec 0 3.00 MBytes

    [ 5] 8.00-9.00 sec 20.0 MBytes 168 Mbits/sec 0 3.00 MBytes

    [ 5] 9.00-10.00 sec 20.0 MBytes 168 Mbits/sec 0 3.00 MBytes


    [ ID] Interval Transfer Bitrate Retr
    [ 5] 0.00-10.00 sec 168 MBytes 141 Mbits/sec 1701 sender
    [ 5] 0.00-10.14 sec 168 MBytes 139 Mbits/sec receiver

    Connection speed over tun0 (OpenVPN)

    $ iperf3 -c vv.vv.vv.vv -f m
    Connecting to host vv.vv.vv.vv, port 5201
    [ 5] local 10.8.0.2 port 47340 connected to vv.vv.vv.vv port 5201
    [ ID] Interval Transfer Bitrate Retr Cwnd
    [ 5] 0.00-1.00 sec 665 KBytes 5.45 Mbits/sec 3 92.3 KBytes

    [ 5] 1.00-2.00 sec 760 KBytes 6.23 Mbits/sec 0 117 KBytes

    [ 5] 2.00-3.00 sec 760 KBytes 6.22 Mbits/sec 0 128 KBytes

    [ 5] 3.00-4.00 sec 1013 KBytes 8.30 Mbits/sec 0 133 KBytes

    [ 5] 4.00-5.00 sec 697 KBytes 5.71 Mbits/sec 0 133 KBytes

    [ 5] 5.00-6.00 sec 1013 KBytes 8.30 Mbits/sec 0 133 KBytes

    [ 5] 6.00-7.00 sec 950 KBytes 7.78 Mbits/sec 0 134 KBytes

    [ 5] 7.00-8.00 sec 950 KBytes 7.78 Mbits/sec 0 141 KBytes

    [ 5] 8.00-9.00 sec 1013 KBytes 8.30 Mbits/sec 0 152 KBytes

    [ 5] 9.00-10.00 sec 886 KBytes 7.26 Mbits/sec 8 122 KBytes


    [ ID] Interval Transfer Bitrate Retr
    [ 5] 0.00-10.00 sec 8.50 MBytes 7.13 Mbits/sec 11 sender
    [ 5] 0.00-10.15 sec 8.19 MBytes 6.77 Mbits/sec receiver

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
4 answers

do you throttle bandwidth on your servers down to under 2mbps downlaod per droplet ? ? really ? surely not !

Absolutely not. We do not do any bandwidth throttling on droplets. I strongly recommend opening a ticket with our support team. If you can provide the results of a ping and traceroute or MTR between your location and your droplet (while you are not connected to your VPN service) it would assist them in identifying any potential network issue. Please note that even while connected via a VPN you are limited by the speed of your local connection.

Hello,

We are facing same issue on client with 10mbps connection after openvpn connect on DO Droplet only 100kbps speed .

awaiting for the fix

same thing happened here.

Normal speed without vpn
30-40Mbps

With OpenVPN server running on DO
1-2Mbps Max

Hello all,

You can use the speedtest-cli but make sure to install the latest available version from speedtest’s GitHub instead of using the binary available in the repository.

Basically, the speedtest-cli command that comes out of the default apt repository is faulty and is not presenting correct details. What you should try doing is using the latest version of the speedtest-cli binary:

  • wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

Then make run the test again:

  • python speedtest.py

Hope that this helps!
Regards,
Alex