Question
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!
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.
×
I forgot to mention that I have also tried adding this to my server.conf in case it was a buffer issue:
sndbuf 0
rcvbuf 0
push “sndbuf 393216”
push “rcvbuf 393216”
I know VPN will impact the speed, but I would expect the same speed I’m getting using PIA VPN, but the download speed is nowhere near. I’ve checked top, and the %CPU is 14.3 and %MEM is 0.4 during the download test. I know the VPS isn’t under performing, not CPU and Memory anyway.
I’ve tried different encryption levels, but that doesn’t really have a significant impact. I’m using UDP, comp-lza is disabled, and I’m starting to wonder if this is MTU related.
I’d like to know if anyone else can get faster download speeds using OpenVPN on their droplet?