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

OpenVPN with Netgate3100/23.01 OpenVPN frequent service restart

OpenVPN
3
6
851
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
    miguelrichard
    last edited by Apr 27, 2023, 6:57 PM

    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 Apr 27, 2023, 11:38 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @miguelrichard
      last edited by Apr 27, 2023, 11:38 PM

      @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.

      Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      M 1 Reply Last reply May 2, 2023, 11:37 AM Reply Quote 1
      • M
        miguelrichard @SteveITS
        last edited by May 2, 2023, 11:37 AM

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

        S 1 Reply Last reply May 2, 2023, 4:52 PM Reply Quote 0
        • S
          SteveITS Galactic Empire @miguelrichard
          last edited by May 2, 2023, 4:52 PM

          @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.

          Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • M
            mhassman
            last edited by May 2, 2023, 7:29 PM

            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 May 2, 2023, 8:16 PM Reply Quote 0
            • S
              SteveITS Galactic Empire @mhassman
              last edited by May 2, 2023, 8:16 PM

              @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.

              Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

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