Page 1 of 1

OpenVPN induces high ping + slow speed

Posted: Wed Nov 23, 2011 9:56 am
by dreic
Hello,

for 2 years now i have openvpn 2.0.9 running on ubuntu and looks like VPN users are not happy with the speed or ping when connected to a VPN.

Example:
ping to VPN server is about 40ms, download speed from the IP where openvpn server is about 240KB/s. When user connects to a VPN server, pinging servers on local network would give them 600+ms and download speed from the published server using local link is half (about 100KB/s).

Users are running Windows 7 ent x64 with mostly latest version of VPN client. Where to look for problem??

Regards,
Damir

Re: OpenVPN induces high ping + slow speed

Posted: Wed Nov 23, 2011 9:59 am
by Mimiko
Could you upgrade tun-adapter driver?

Re: OpenVPN induces high ping + slow speed

Posted: Wed Nov 23, 2011 1:50 pm
by dreic
I upgraded openvpn on server to version 2.2.1 and included tcp-nodelay setting inside server.conf but still it's the same thing. On client i also have latest version of openvpn.

Ping does look like a bit lower since i can get response of 60ms for few secs and average dropped from 300+ to about 180 but still speed over vpn is 170KB/s and without it 260KB/s. I can live with that speed, but delay is more that is troubling me. I found http://lifeandcode.net/2009/05/reduce-g ... -or-vista/ but still didn't try it.

This could be possible fix for the problem?

Regards,
Damir

Re: OpenVPN induces high ping + slow speed

Posted: Wed Nov 23, 2011 2:45 pm
by Mimiko
Check the internet utilization other then VPN. Or the client or the server is using its internet interface, that causes delays in VPN tunnel. Afterall, VPN packets has to go same interface out to internet.

Re: OpenVPN induces high ping + slow speed

Posted: Wed Nov 23, 2011 3:06 pm
by dreic
No, everything is OK there.