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
How to reconnect to vpn using Batch file commands?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Aug 14, 2014 11:31 am
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: How to reconnect to vpn using Batch file commands?
Do you want OpenVPN to automatically reconnect if the current session is dropped ?
Have you seen --keepalive ?
Have you seen --keepalive ?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Mar 04, 2015 7:17 am
Re: How to reconnect to vpn using Batch file commands?
Hi you. Can you share me this batch file to connect OpenVPN. Thanks alots.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
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Jul 24, 2016 11:04 pm
Re: How to reconnect to vpn using Batch file commands?
I would love a script of this batch file )