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

    How schedule periodic restart of openvpn client?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.6k 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.
    • T Offline
      tigs
      last edited by

      Hi There,

      I have an openvpn cleint set to connect to my vpn server. With time, it will slower and slower. A restart of openvpn client will seem to revive the client. Is therea way to schedule a restart, let's say midnight every day?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Install the cron package and then use "/usr/local/sbin/pfSsh.php playback svc restart openvpn client X" where "X" is the ID of the client you want to restart.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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