linuxmad
Hi All,
I'm looking for ways to increase the speed of getting the VPN reconnected on the client side to servers that are set in the client side config with multiple 'remote ' destination commands/parameters as well as having remote-random enabled.
At the moment a reconnect takes about 20-30 seconds total. The main reasons for this..
-The reconnect tries to connect immediately to the same previous connection/remote server.
-Any connect attempt takes 10 seconds worth of pings or attempts or something until it stops and tries a different remote server
-There is/was a 5 second default delay between each attempt, i've taken this down to one second so no problem any more
-I've set the keepalive settings which configures the ping-restart settings on the clients really low with values of '2 6'... lower than this seemed to dramatically increase latency of the tunnel (tested with commandline ping's). If this value was '1 4' then ping latency was generally 120ms, setting to '2 6' ping latency then becomes 20ms... strange but that's the case.
-I'm currently using proto TCP but looking to soon test what speed gains if any of UDP
Anyway I guess what i'm looking to find out is-
-If I can reduce the time it takes before a connection attempt times-out so instead of it taking 10 seconds maybe reducing this to something like 3 or 4 seconds, before moving on to try a different 'remote' server?
I couldn't find anything that seemed like it would help with me on this one.
Many Thanks to all suggestions,
Best,
M