When I am connected to the server, and ping an inside and external ip address, every 10 pings or so I get a spike of latency.
VPN is mostly used for gaming online, so that kind of lag is really annoying. There is no encryption and tried to disable comp-zlo. Tried to set real-time priority for openvpn-gui, didn't helper either.
OpenVPN build on OpenVZ virtualization, Ubuntu 10.10 OS. CPU usage mostly 2~5%. Ping from server is about ~1ms and lower.
Server config
Code: Select all
port 443
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto tcp
remote domain.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo
verb 3

Many thanks for developers of this great software:)
Looking forward for replys;)