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 (126.96.36.199)... 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
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!
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!