Openvpn client gives up

nmos

New Around Here
I'm running an openvpn client on Merlin and I've noticed that if the server end goes away for a while, perhaps due to an internet outage, the client will eventually give up connecting and turn off. I'm running Merlin 386.7. Is there any way to tell it to just keep trying indefinitely?
 

Viktor Jaep

Very Senior Member
I'm running an openvpn client on Merlin and I've noticed that if the server end goes away for a while, perhaps due to an internet outage, the client will eventually give up connecting and turn off. I'm running Merlin 386.7. Is there any way to tell it to just keep trying indefinitely?
I used to have that problem too... which is why I wrote VPNMON-R2... Give that a shot - it will solve this issue. ;)

 

nmos

New Around Here
I used to have that problem too... which is why I wrote VPNMON-R2... Give that a shot - it will solve this issue. ;)


Thanks! That looks really useful. Is there any way to make it run automatically at boot?
 

Viktor Jaep

Very Senior Member
Thanks! That looks really useful. Is there any way to make it run automatically at boot?
Yep... I've got some guidance on how to implement that in this post here:

 

Viktor Jaep

Very Senior Member
Have you tried setting "Connection Retry attempts" to "0 for infinite"?
That works for a temporary outage... but back in the heyday, I've had my vpn connection down for days until I realized that it wasn't even connected, and retrying constantly... which is why I needed something to automatically figure out how to connect to some other slot.
 
Last edited:

nmos

New Around Here
That works for some temporary outage... but back in the heyday, I've had my vpn connection down for days until I realized that it wasn't even connected, and retrying constantly... which is why I needed something to automatically figure out how to connect to some other slot.
In my case this is a site to site link so if the server end goes down then I just want to be able to fix that and trust that the remote sites will reconnect without me having to intervene.
 

nmos

New Around Here
BTW, do the openvpn client settings in the UI override the settings in the .ovpn file?
 

Viktor Jaep

Very Senior Member
BTW, do the openvpn client settings in the UI override the settings in the .ovpn file?
Yes, whatever you add after you've imported the .ovpn file gets overridden.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top