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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy