Multiple remote tries, reduce time between them?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
MathiasH
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 17, 2013 9:57 am

Multiple remote tries, reduce time between them?

Post by MathiasH » Wed Apr 17, 2013 10:09 am

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.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Multiple remote tries, reduce time between them?

Post by janjust » Wed Apr 17, 2013 10:40 am

have you tried playing with

Code: Select all

--server-poll-timeout n
?

MathiasH
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 17, 2013 9:57 am

Re: Multiple remote tries, reduce time between them?

Post by MathiasH » Wed Apr 17, 2013 11:08 am

No I hadn't.

I think this is the setting I was looking for.

Thank you for the quick reply!

Post Reply