I currently have a droplet set up as a VPN through OpenVPN.
While the server speeds are fine, as shown here: http://www.speedtest.net/result/5660599598.png
My connection speed through the VPN are throttled quite badly.
VPN disabled: http://www.speedtest.net/result/5660603704.png VPN enabled: http://www.speedtest.net/result/5660607335.png
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?
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:
Then make run the test again:
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 speedtest.net servers to test speed. Below is my droplet in NYC3 runningspeedtest-cli
.To install it, you can run
pip install speedtest-cli
orapt-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.