OpenVPN induces high ping + slow speed

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
dreic
OpenVpn Newbie
Posts: 13
Joined: Wed Nov 23, 2011 9:25 am

OpenVPN induces high ping + slow speed

Post by dreic » Wed Nov 23, 2011 9:56 am

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

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN induces high ping + slow speed

Post by Mimiko » Wed Nov 23, 2011 9:59 am

Could you upgrade tun-adapter driver?

dreic
OpenVpn Newbie
Posts: 13
Joined: Wed Nov 23, 2011 9:25 am

Re: OpenVPN induces high ping + slow speed

Post by dreic » Wed Nov 23, 2011 1:50 pm

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

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN induces high ping + slow speed

Post by Mimiko » Wed Nov 23, 2011 2:45 pm

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.

dreic
OpenVpn Newbie
Posts: 13
Joined: Wed Nov 23, 2011 9:25 am

Re: OpenVPN induces high ping + slow speed

Post by dreic » Wed Nov 23, 2011 3:06 pm

No, everything is OK there.

Post Reply