I have a OpenVPN vps server in Hong Kong. The specs is just 1 Core 2.2ghz CPU and 1GB of RAM. The connection is a 100mbit. But when I connect from my desktop in NY, my speed is only 1-2mbit only. I'm pretty sure my config files are not optimized somehow for this long distance connection.

My objective here is for speed and I don't care about security, which is why I disabled all the tls-ciphers and encryption related settings. The main use of this connection is to stream video. So I'm not sure if I need compression or not.

Also what should my MTU be and what other settings should go along with it? Assuming this will improve my speed.

My OpenVPN Server settings:

port 10111
proto udp
dev tun
user nobody
group nobody
keepalive 10 120
topology subnet
ifconfig-pool-persist ipp.txt
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
push "dhcp-option DNS"
push "dhcp-option DNS"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
crl-verify crl.pem
ca ca.crt
cert server_IzA1QdFzHLRFfEoQ.crt
key server_IzA1QdFzHLRFfEoQ.key
auth SHA256
status /var/log/openvpn/status.log
verb 3

And my client ovpn settings:

proto udp
remote xxxx.xx 10111
dev tun
resolv-retry infinite
remote-cert-tls server
verify-x509-name server_IzA1QdFzHLRFfEoQ name
auth SHA256
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3

Also here is the output of my OpenVPN when connected. I'm using a DDWRT router to make the connection:

enter image description here

  • What is the latency between the two servers and is there any packet loss? – Brennen Smith Jan 11 at 19:48
  • And what country are you streaming video from? – Michael Hampton Jan 11 at 19:56
  • hong kong. @MichaelHampton -- how do i check for packet loss and how can I prevent the loss? – Patoshi パトシ Jan 11 at 20:05
  • I'd start by running mtr on your VPN server's public IP address, while not connected to the VPN. – Michael Hampton Jan 11 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.