Help with conclusion of observed openVPN performance.

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tobiasbp
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 05, 2019 9:59 am

Help with conclusion of observed openVPN performance.

Post by tobiasbp » Mon Aug 05, 2019 10:20 am

Hello forum. 1st time poster here....

I have been playing around with openVPN. I have set up an openVPN server. I can connect from a remote location (The client) and access resources on the servers network(s) just fine. So, functionality is working the way I want.

However, I see a wide range of performance when transferring through the VPN. I'm using iPerf for my tests.

The server is on a 200/200Mbps connection. When connection the client directly through the firewall in front op the server's network(s), I get around 250/250Mbps (Internet is not involved). That's fast enough for me. At that point, it looks to me like I'm, bound by the CPU on the openVPN server.

When connecting from different homes, I get very varying results. The best result is when the client is on a 100/100Mbps fiber connection. I can get close to the 100Mpbs both ways. All the other locations I have tried to connect from, have much worse results. I'm not close to getting a transfer rate matching the client's line. Usually I get something like 50Mpbs on 100Mpbs lines. Often, I can see the transfer starting out at something close to line speed, and then drop, and vary quite dramatically.

I have looked at the results from https://www.speedtest.net/, and the tests show results matching the official line speeds, on the lines where I get poor results when using openVPN.

I have tried using both TCP & UDP with openVPN. I'm using port 443 as to not be identified på the ISP as openVPN-traffic (And be able to connect out from networks with limits on outbound ports). I don't see much of a change.

Based on my observations, I suspect all the "bad" lines to the throttled by their ISPs. What do other experienced openVPN users think? Is throttling likely based on my observations? What should/could I do from here to try to get better throughput with openVPN? Should I ask my users to get better ISPs? Any suggestions and thoughts much appreciated.


Thanks,
Tobias

Post Reply