Automatic reconnect is necessary

Scripts to manage certificates or generate config files

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

Post Reply
roik
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 20, 2017 2:57 pm

Automatic reconnect is necessary

Post by roik » Fri Oct 20, 2017 3:05 pm

Hi @all.

I use OpenVPN as the client
There are 5 different servers, connection to them happens randomly

Help to set up please automatic reconnection each 30 minutes through configuration-file. There is a ping or not, does not matter. The regular reconnection on the timer is simply necessary.
In advance THX to all

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Automatic reconnect is necessary

Post by Pippin » Fri Oct 20, 2017 3:39 pm

You clould make a time out script to restart the Client.

roik
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 20, 2017 2:57 pm

Re: Automatic reconnect is necessary

Post by roik » Fri Oct 20, 2017 5:50 pm

I would like to organize a reconnect without using a third party script. Perhaps there is an option to make it inside the configuration file?

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Automatic reconnect is necessary

Post by Pippin » Fri Oct 20, 2017 9:22 pm

Not that I know of.

Post Reply