By Zerqz
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
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.