The VPS has 768MB ram and a single CPU
The upload download speeds of the server were around 100Mbps;

and so I thought OpenVPN would run quite well on it but I ended up getting much slower speeds than I thought.
I tested this with my home broadband connection which is usually this fast;

but after connecting to the VPN, the speed was this;

I thought this may be related to my home broadband but then I also tested it on a 4G connection (I don't have the results for the 4G connection but it was much faster than broadband) and still ended up with the same 4Mbps.
From where I am connecting to the VPS, there is around 67ms ping.
This is my config file:
Code: Select all
port 8080
proto tcp
dev tun
tcp-nodelay
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
I'm not sure if these speeds are what to be expected or if there is something I can do about it like adding more RAM to the server or something.
I think higher latency might slow down the throughput but I'm not completely sure.
Thanks,
