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

    How restart OpenVPN server

    Scheduled Pinned Locked Moved OpenVPN
    41 Posts 14 Posters 77.4k 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.
    • W
      wdbacker
      last edited by

      Hi Scott,

      I noticed your Check-In 16202 on the CVS trac and I modified my /etc/inc/filter.inc as shown. Now in my case, OpenVPN is again (re)starting normally without the socket descriptors being reused by other processes! It works in both TCP and UDP server mode now (I use TCP for roadwarriors and UDP for site to site).

      I will do some more extensive testing one of these days.

      Thanks for the nice solution! :)

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        Great!  Glad to hear that it has solved the issues.

        1 Reply Last reply Reply Quote 0
        • T
          thinair
          last edited by

          I'm testing the updated filter.inc file as well.  I'll let you know in 24h if the OpenVPN tunnel is still up.  It usually dies after a couple hours for me.

          Nelson Papel

          1 Reply Last reply Reply Quote 0
          • B
            Bredys
            last edited by

            I tried last snapshot from 22.01.07 and openVPN work great !

            Thanks for this fix !

            1 Reply Last reply Reply Quote 0
            • S
              Selective
              last edited by

              it´s working for me aswell !!! :D

              1 Reply Last reply Reply Quote 0
              • T
                trendchiller
                last edited by

                Y E A H

                Scott you rule !

                Happy to see this bug to be gone  ;D

                1 Reply Last reply Reply Quote 0
                • T
                  thinair
                  last edited by

                  Yep, everything is A-OK for me too.  The tunnel didn't go down once.  I guess I'll just install the 1-22-07 snapshot now.

                  Nelson Papel

                  1 Reply Last reply Reply Quote 0
                  • S
                    sh_man
                    last edited by

                    I need to implement this solution for a couple of temporary sites I am setting up for a weeks time :(.

                    I need to run them from a LiveCD.

                    How can I create a LiveCD with this fix in.

                    Please note that I am predominately a windows man, don't have much BSD/Linux experience and no machines other than a production firewall running pfSense :).

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      Just fetch a new livecd from the snapshotserver instead a 1.0.1 release from the mirrors that has this bug fixed: http://snapshots.pfsense.org/FreeBSD6/RELENG_1/

                      1 Reply Last reply Reply Quote 0
                      • S
                        sh_man
                        last edited by

                        Thanks - I'll see how I get on with that.

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