How to restart Specific OpenVPN thanks to script at specific time
-
Hello,
We have lot of openvpn tunnel with our pfsense firewall. For only openvpn tunnel for unknow reason, we lost connection and we need to restart manually this tunnel. It's possible to relaunch a specific openvpn tunnel thanks to script at specific time (for example cron).
Thank You for your help
Best Regards
-
if it's a server
/usr/local/sbin/pfSsh.php playback svc restart openvpn server 1if it's a client
/usr/local/sbin/pfSsh.php playback svc restart openvpn client 1server/client can be 1 or 2 or 3 etc etc
check with
ps uxaww | grep openvpn
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.