Hi, I've set up an OpenVPN server that routes all web traffic to it and connected it from a client.
The client has a download speed of... 25 mbps
and an upload speed of... 16.7 mbps
from a 4G connection
The server has a download speed of... 7 mbps
and an upload speed of... 0.7 mbps
from just the regular home internet
These numbers are just from speedtest.net, when I connect the client to the server and try running speedtest.net again, the values I get were...
0.4 mbps (download)
~0.7 mbps (upload) just about the same
I would expect the speeds to be lower as I'm connecting through a VPN but I didn't expect it to be over two-thirds slower. Strangely the upload speed seemed to be unaffected that much.
Are these to be expected or are there any tips to speed up the connection?
Here is the server config
port 8080
proto tcp
dev tun
tun-mtu 1500
mssfix 1410
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 10.8.0.1"
And the client...
client
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3
Thanks!
(I've read that UDP can be faster than TCP but it would be preferable that it is TCP. Also the server is running Windows 7 and the client is an iOS device, if it matters)