Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Restart OPENVPN via CLI

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 584 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JustAnotherUserJ
      JustAnotherUser
      last edited by

      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.

      O 1 Reply Last reply Reply Quote 1
      • O
        Overlord @JustAnotherUser
        last edited by

        @justanotheruser

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.