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

    OpenVPN with Netgate3100/23.01 OpenVPN frequent service restart

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 3 Posters 964 Views 3 Watching
    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.
    • M Offline
      miguelrichard
      last edited by

      Hi, i'm having this Netgate3100 with OPENVPN and i can't figure why i need to restart the OPENVPN service at least once a week, anyone have this issue?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @miguelrichard
        last edited by

        @miguelrichard We did at one client that used openVPN. Never did figure it out so we resorted to scheduling a weekly restart on Sunday 2am or whatever. No issues after that. IIRC it wasn’t a weekly issue, maybe every few weeks? Hence the weekly restart. Others since then have used IPSec.

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          miguelrichard @SteveITS
          last edited by

          @steveits What command have you use to set a service reboot ?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SteveITS Rebel Alliance @miguelrichard
            last edited by

            @miguelrichard Install the cron package, and create an entry to run /sbin/shutdown -r now. If you don't install and use the package, manually edited crontab entries will be overwritten.

            Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
            Upvote 👍 helpful posts!

            1 Reply Last reply Reply Quote 0
            • M Offline
              mhassman
              last edited by

              If the service actually shows as stopped, I have always used the service_watchdog package to restart it when it detects the service stops.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                SteveITS Rebel Alliance @mhassman
                last edited by

                @mhassman In our case, as I seem to recall from a few years ago now, the service was running but people couldn't connect until the service was restarted. I am not finding my notes in a quick search though. The weekly restart was just a sledgehammer approach to fixing it.

                Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                Upvote 👍 helpful posts!

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