Page 1 of 1

Multiple remote tries, reduce time between them?

Posted: Wed Apr 17, 2013 10:09 am
by MathiasH
Hi, I have to make something on my internship which will try different ports for openVpn because we won't know which ports will be open.


Is there any way to reduce the time between this

Code: Select all

Wed Apr 17 10:20:51 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)
Wed Apr 17 10:21:07 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)
It takes about a minute for 2 ports to try and I will have a config file with about 14.

Re: Multiple remote tries, reduce time between them?

Posted: Wed Apr 17, 2013 10:40 am
by janjust
have you tried playing with

Code: Select all

--server-poll-timeout n
?

Re: Multiple remote tries, reduce time between them?

Posted: Wed Apr 17, 2013 11:08 am
by MathiasH
No I hadn't.

I think this is the setting I was looking for.

Thank you for the quick reply!