Question

OpenVPN speed issues, but server and home speeds are more than optimal.

Following a guide to setup a openvpn server on a droplet, I’ve come to a puzzling conclusion.

*Testing my vps speed is:
Testing download speed........................................
Download: 607.40 Mbit/s
Testing upload speed..................................................
Upload: 264.37 Mbit/s
Testing my home speed NOT through vpn is:
Testing download speed........................................
Download: 146.77 Mbit/s
Testing upload speed..................................................
Upload: 10.86 Mbit/s
Testing my home connection TO my vps:
Testing download speed........................................
Download: 144.83 Mbit/s
Testing upload speed..................................................
Upload: 11.87 Mbit/s*
BUT after connecting to my openvpn setup, USING port **443/tcp not the defaults** .......

Testing download speed........................................
Download: 11.33 Mbit/s
Testing upload speed..................................................
Upload: 4.12 Mbit/s

Why is it nerfed so hard?

Is there anything I can do about this? I don’t think it has anything to do with my ISP throttling my connection, as I have not had any issues with any other services. Even using a paid for vpn, like PIA, gives me slightly better speeds.

Edit: Here’s my config


port 443
proto tcp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
comp-lzo                                            #Tried with and without
persist-key
persist-tun
status openvpn-status.log
verb 0
crl-verify crl.pem

Subscribe
Share

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.

Hi,

Can you post the results of running Top, or otherwise looking at the CPU performance of your Droplet while using your OpenVPN setup? It’s possible you’re maxing out or pushing the resources of the Droplet as you send traffic through it.