Question
OpenVPN Speed Issue
Hi there,
I’ve setup OpenVPN and made it working following this tutorial ; https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04
But when I do speed test on my local computer without VPN, I’ve got 25 mbits ( Expected ISP speed ) but when I do the test with VPN, it’s around 15-16 mbits with 60ms ping. I understand the ping but internet speed shouldn’t be that impacted.
Here you can see the speedtest runned on droplet,
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from DigitalOcean (146.185.168.242)...
Selecting best server based on latency...
Hosted by DEAC (Amsterdam) [2.18 km]: 4.038 ms
Testing download speed........................................
Download: 897.90 Mbit/s
Testing upload speed..................................................
Upload: 399.46 Mbit/s
Down here you can see the openvpn/server.conf
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
And here my UFW configuration, I use 80 and 8080 ports for my nginx webserver
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
1194/udp ALLOW Anywhere
80/tcp ALLOW Anywhere
8080/tcp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
1194/udp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
8080/tcp (v6) ALLOW Anywhere (v6)
Thanks in advance
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 notice something similar with my setup. Except I have a symmetrical 300mbps connection at the server end and 100mbps/10mbps connection at the client. I am also capping out at 15mbps/6mbps over OpenVPN. Ping time is 60ms. While the upload is inline with what I would expect, the download is not. I almost wonder if there is a throughput limit on the non commercial version.