Slow speed using droplet as VPN for home connection.

I currently have a droplet set up as a VPN through OpenVPN.

While the server speeds are fine, as shown here:

My connection speed through the VPN are throttled quite badly.

VPN disabled: VPN enabled:

While I understand there will be some bandwidth drop and latency when passing the network across an additional server, is the difference supposed to be so drastic?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

  1. wget

Then make run the test again:

  1. python

Hope that this helps! Regards, Alex

With any VPN, you can expect more latency, unreliability, and slower speeds since you are adding more hops for your connection to travel. The slower speeds come from the VPN having to encrypt and decrypt the traffic going through it since (a normal) VPN encrypts traffic between it and its clients. DigitalOcean, you can normally expect your droplet to have a download speed in the area of 500-800Mbps and an uplink of 250-500Mbps depending how busy your hypervisor or the network in total is. You can check the speed on your droplet using speedtest-cli which is a handy command line tool that uses the servers to test speed. Below is my droplet in NYC3 running speedtest-cli.

My Droplet Speedtest

To install it, you can run pip install speedtest-cli or apt-get install speedtest-cli. This can help you diagnose the bottleneck you’re hitting. Additionally, you want to monitor your resource utilization while running a speedtest while VPN’d to the system. If you are hitting full resource usage, you droplet doesn’t have enough oomph to handle your connection.