I have been trying to setup an OpenVPN server for a while. I got maximum 50 Mbps between server and client.
My client (Windows 10) is in London (AWS), server (Ubuntu 16.04) in New Jersey (Vultr).
According to speedtest.net results;
The client has 500 Mbps download, 32 Mbps upload (From London to NJ without vpn connection).
The server has 600 Mbps download, 270 Mbps upload (From NJ to London with vpn).
When I connect the OpenVPN Server I get 50 Mbps download, 6 Mbps upload (From London to NJ)
Server config:
port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
push "sndbuf 0"
push "rcvbuf 0"
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
cipher AES-128-CBC # AES
auth SHA256
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
tun-mtu 2000
fragment 0
mssfix 0
Client config:
client
dev tun
proto udp
remote the_ip_is_here 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
cipher AES-128-CBC
auth SHA256
key-direction 1
tun-mtu 2000
fragment 0
mssfix 0
verb 3
Can I get 100 Mbps download speed while using OpenVPN? (From London to NJ)