Slow speed using droplet as VPN for home connection.

September 25, 2016 4.6k views

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?

1 Answer

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.

Have another answer? Share your knowledge.

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