Restart OPENVPN via CLI
-
On ONE pfsense box, both OpenVPN clients and servers die and have to be manually restarted.
How can you start/restart OpenVPN servers and clients on pfSense 2.5.2 via ssh/CLI?
Playback is not available.
-
pfSsh.php playback svc restart openvpn server 1
And here in a cron:
10 10 * * * root /usr/local/sbin/pfSsh.php playback svc restart openvpn server 1
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.