OpenVPN on VPS (1GB RAM) only getting 50Mbps down on 300Mbps connection

I’ve got a 1GB VPS running CentOS 7 that I am using for OpenVPN from my home. I have a 300Mbps connection, and without VPN I get anywhere between 300-350Mbps. Using PIA the speed drops a bit, but it’s still over 300Mbps. If I used my OpenVPN Windows client to my DO VPS it’s never more than 55Mbps.

Without VPN I have done a DO speedtest (here) to NYC1 where my VPS is located and it’s over 250Mbps. I’ve also run speedtest-cli from my VPS and it’s getting 608Mbps down / 391Mbps up.

So, question is why am I only getting 55Mbps using my OpenVPN client? I’ve even tried another VPS running Ubuntu, but it performed exactly the same. I’m pulling my hair out!

Any help would be appreciated!

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


I’ve honestly not used OpenVPN in some time since being introduced to Algo, which makes setting up a VPN far easier than doing it manually (at least on MacOS – not tried it on Windows 10 yet).

It provides direct deployment to DigitalOcean, your choice of DC, by simply providing a key.

Algo is IKEv2 only, so you definitely need an OS that supports it – Windows 10 and MacOS does.

I’ve tested the setup that Algo uses on 60-150 Mbps connections and I consistently receive 98-99% of the connection speed in all three of the NYC data centers (i.e. 60-150 Mbps).

Last I used OpenVPN, my results varied from between 50-60% up to 80%, though I never saw what I see with IPSec/IKEv2.

This comment has been deleted

Hi @L9

You should not expect to get the same speed as a connection without VPN. That being said, it depends a lot on the encryption level you use and amount of CPU power available on the server.

Working with firewalls, you can easily get 1GBit bandwidth on modest hardware, but if you run VPN on the same hardware you get 40-140Mbit. The main reason for the difference in speed coming from whatever encryption level is being used.

I currently can’t test anything from my location, because I’m lucky if connections in this country are stable - and if they are, they’re not more than 10Mbit. Maybe someone else will pitch in with their experience on running VPN on DO with higher connection speeds.