OpenVPN with Netgate3100/23.01 OpenVPN frequent service restart
-
Hi, i'm having this Netgate3100 with OPENVPN and i can't figure why i need to restart the OPENVPN service at least once a week, anyone have this issue?
-
@miguelrichard We did at one client that used openVPN. Never did figure it out so we resorted to scheduling a weekly restart on Sunday 2am or whatever. No issues after that. IIRC it wasnโt a weekly issue, maybe every few weeks? Hence the weekly restart. Others since then have used IPSec.
-
@steveits What command have you use to set a service reboot ?
-
@miguelrichard Install the cron package, and create an entry to run
/sbin/shutdown -r now
. If you don't install and use the package, manually edited crontab entries will be overwritten. -
If the service actually shows as stopped, I have always used the service_watchdog package to restart it when it detects the service stops.
-
@mhassman In our case, as I seem to recall from a few years ago now, the service was running but people couldn't connect until the service was restarted. I am not finding my notes in a quick search though. The weekly restart was just a sledgehammer approach to fixing it.