We help IT Professionals succeed at work.

OpenVPN low traffic speed.. How to speed up VPN?

Peter Van den Broeck
on
280 Views
Last Modified: 2018-09-04
I have a Visual FoxPro program running. it uses a local cursor engine.
To use the program from home, people use a VPN solution (openVPN)

Using this, we have poor performance.
We use lines with a 200mbit down and 50 mbit upload speed.  (vendor = Telenet Belgium)

The database has a traffic of 100mbyte totally  during a complete session, so it should fly.
However: on a 100Mbit network it works realtime. response times are very low.

Using openVPN, response times are like minutes.
The internet connection is real fast. So OpenVPN is what slows us down.

I put send and receive buffers to 0 in both server and ws config file. This fastenes the systyem up, but far..  far from enough.

There must be other settings to speed openVPN traffic up. But what can I do?
Comment
Watch Question

"Batchelor", Developer and EE Topic Advisor
CERTIFIED EXPERT
Top Expert 2015
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Dave McGurimanSenior Sysadmin
CERTIFIED EXPERT

Commented:
I have been supporting a vfp app for years and qlemo is right, it's the latency that's killing you.  We used to get delayed write fail errors on a local lan if latency went about 5ms for whatever reason.  Best solution is to run a terminal server that all remote users an access to run the app then the only thing oming over the ire is screen redraw.
CERTIFIED EXPERT

Author

Commented:
Sounds logical.  This is a complex foxpro app running for quite a few years. Terminal server could do the trick, is there some open source solution in TS ? This could work, only printing is a problem using TS I guess.
Qlemo"Batchelor", Developer and EE Topic Advisor
CERTIFIED EXPERT
Top Expert 2015

Commented:
There is no "open source", because any usage of a Windows Client OS in a simultanous multi-user way is an EULA violation. And on a server OS, the licenses need to be included. so nothing free of charge here.

If each of the people has an own, non-mobile machine in the LAN, it is easy; just let them RDP into their machine.
If not, but only one user at a time needs access, you can set up a single W7 or W10 machine, make sure every user has a client license (CAL) for that machine, and then let them use RDP.
CERTIFIED EXPERT

Author

Commented:
Found a solution in RDP services under linux.
Linus can run VFP programs like a charm using wine.
Now, users do a RDP and work this way. They can't print from home but that is a minor disadvantage.

Tnx for helping me out.