Page 1 of 1

How to reconnect to vpn using Batch file commands?

Posted: Tue Jan 27, 2015 10:28 am
by robertdbuckley
Hi,

I want to use a batch file to reestablish a connection whilst OpenVPN is running. Is this possible? I can start OpenVPN with a batch file and autoconnect using my config file, but I can´t figure out how to reconnect once the connection is down.

Any help would be super,

thanks,

Rob

Re: How to reconnect to vpn using Batch file commands?

Posted: Tue Jan 27, 2015 12:08 pm
by Traffic
Do you want OpenVPN to automatically reconnect if the current session is dropped ?

Have you seen --keepalive ?

Re: How to reconnect to vpn using Batch file commands?

Posted: Wed Mar 04, 2015 7:18 am
by comeback1106
robertdbuckley wrote:Hi,

I want to use a batch file to reestablish a connection whilst OpenVPN is running. Is this possible? I can start OpenVPN with a batch file and autoconnect using my config file, but I can´t figure out how to reconnect once the connection is down.

Any help would be super,

thanks,

Rob
Hi you. Can you share me this batch file to connect OpenVPN. Thanks alots.

Re: How to reconnect to vpn using Batch file commands?

Posted: Wed Jul 27, 2016 11:14 am
by vincent49
I would love a script of this batch file )