Avatar of Peter Van den Broeck
Peter Van den Broeck
Flag for Belgium asked on

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

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?

Avatar of undefined
Last Comment
Peter Van den Broeck

8/22/2022 - Mon

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dave McGuriman

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.
Peter Van den Broeck

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.

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Peter Van den Broeck

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.