OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: gh0st on June 14, 2018, 11:09:45 am

Title: Forced to restart OpenVPN each morning!
Post by: gh0st on June 14, 2018, 11:09:45 am
Hi!

Dunno what's the problem is? If it's OPNsense or OpenVPN (OVPN as provider)?
Because each morning we have lost connection to Internet, and are forced to restart the OpenVPN service to get access to it again.

Any clues to solve this? Or how we can do an automatic restart of the service each morning?
Title: Re: Forced to restart OpenVPN each morning!
Post by: franco on June 14, 2018, 06:27:21 pm
Is it a client? You can set "Infinitely resolve remote server".

As with everything else, inspect System and OpenVPN log as it will give clues.

Gateway monitoring can also restart your OpenVPN in case of e.g. 24 hour disconnect.


Cheers,
Franco
Title: Re: Forced to restart OpenVPN each morning!
Post by: gh0st on June 24, 2018, 12:44:30 pm
Here we have the logs:

https://pastebin.com/m1c0gPui
https://pastebin.com/EWFNjNVJ

Were can I find the "Gateway monitoring" to make it restart the service each morning?