Hello,
Since our campus network is highly restrictive and all the UDP ports are banned, we needed to setup VPN server to overcome this. Without being new to linux, I am new to OpenVPN.
My goal is optimizing my openvpn server to allow gaming over it, with lowest latency possible, over a tcp port.
I have rented various VPS's from various locations and virtualization (right now 1 KVM and 1 OpenVZ) and experimenting with them. Right now I have and KVM server running an OpenVPN server, but not getting any good results at all. Right now I am about to setup my OpenVZ server, >18ms, very close to my location and need your help.
My problems are: Latency spikes, low download and upload line speeds. (Around 10 people using the OpenVPN server, for gaming or browsing)
Finally here is my server.conf: (dnsmasq running)
port 8080
proto tcp
dev tun
ca ca.crt
cert xxx.crt
key xxx.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
keepalive 5 30
Regards.