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

    OpenVPN on 2.7.1 crashes on some circumstances

    Scheduled Pinned Locked Moved OpenVPN
    22 Posts 10 Posters 3.8k 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.
    • O
      ogghi
      last edited by

      It seems stable here in regards to disconnects, but people using remote desktop sometimes get some timeouts as it seems. Keeping an eye on logs today.

      Happy Monday ppl!

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

        OpenVPN released OpenVPN 2.6.8 which addresses a segfault that some users see with 2.6.7:

        https://github.com/OpenVPN/openvpn/issues/449

        https://openvpn.net/community-downloads/

        We're still discussing what the best course of action is to address it since it doesn't seem to be widespread.

        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!

        S 1 Reply Last reply Reply Quote 1
        • S
          slu @jimp
          last edited by slu

          @jimp
          we are also affected by random openvpn crashes, this setup running before over 8 years without any issue.

          There are many different openvpn clients and version on this server, maybe this combination trigger the issue more...

          pfSense Gold subscription

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

            We'll be bringing in OpenVPN 2.6.8 to the next patch release (Plus 23.09.1, CE 2.7.2) which should be out here in the next week or so if all goes according to plan.

            https://redmine.pfsense.org/issues/15049

            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!

            M 1 Reply Last reply Reply Quote 4
            • M
              michmoor LAYER 8 Rebel Alliance @jimp
              last edited by

              @jimp
              Hey Jim. Any release notes on 23.09.1 ?

              Firewall: NetGate,Palo Alto-VM,Juniper SRX
              Routing: Juniper, Arista, Cisco
              Switching: Juniper, Arista, Cisco
              Wireless: Unifi, Aruba IAP
              JNCIP,CCNP Enterprise

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

                @michmoor said in OpenVPN on 2.7.1 crashes on some circumstances:

                @jimp
                Hey Jim. Any release notes on 23.09.1 ?

                Nothing public yet, but it's primarily security/stability things. The ZFS corruption bug, OpenVPN needed a version bump, so did strongSwan, various fixes in PHP code. Not a long list, but significant enough to warrant a patch release.

                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!

                M 1 Reply Last reply Reply Quote 3
                • M
                  michmoor LAYER 8 Rebel Alliance @jimp
                  last edited by

                  @jimp
                  sounds good to me. thanks!

                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                  Routing: Juniper, Arista, Cisco
                  Switching: Juniper, Arista, Cisco
                  Wireless: Unifi, Aruba IAP
                  JNCIP,CCNP Enterprise

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

                    FYI- If you are on Plus 23.09 or CE 2.7.1 we picked back the update to the current repositories so you can also get OpenVPN 2.6.8_1 right now from the console or SSH shell prompt:

                    # pkg update
                    # pkg upgrade -y openvpn
                    

                    And then either restart each instance manually or reboot.

                    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!

                    T O 2 Replies Last reply Reply Quote 2
                    • T
                      tedquade @jimp
                      last edited by

                      @jimp Done.

                      Thanks
                      Ted

                      1 Reply Last reply Reply Quote 0
                      • O
                        OhYeah 0 @jimp
                        last edited by

                        @jimp said in OpenVPN on 2.7.1 crashes on some circumstances:

                        FYI- If you are on Plus 23.09 or CE 2.7.1 we picked back the update to the current repositories so you can also get OpenVPN 2.6.8_1 right now from the console or SSH shell prompt:

                        # pkg update
                        # pkg upgrade -y openvpn
                        

                        And then either restart each instance manually or reboot.

                        We had one virtual instance of pfsense that had the OpenVPN remote access server crash every 2-3 days. After pkg update the server has been running without problems for 5+ days.

                        S T 2 Replies Last reply Reply Quote 1
                        • S
                          slu @OhYeah 0
                          last edited by

                          We can confirm this, no issue since 2.6.8_1, thank you @jimp

                          Simply reinstall of the package openvpn-client-export does also the OpenVPN upgrade.

                          pfSense Gold subscription

                          1 Reply Last reply Reply Quote 0
                          • T
                            thuyetti @OhYeah 0
                            last edited by

                            @OhYeah-0 said in OpenVPN on 2.7.1 crashes on some circumstances:

                            @jimp said in OpenVPN on 2.7.1 crashes on some circumstances:

                            FYI- If you are on Plus 23.09 or CE 2.7.1 we picked back the update to the current repositories so you can also get OpenVPN 2.6.8_1 right now from the console or SSH shell prompt:

                            # pkg update
                            # pkg upgrade -y openvpn
                            

                            And then either restart each instance manually or reboot.

                            We had one virtual instance of pfsense that had the OpenVPN remote access server crash every 2-3 days. After pkg update the server has been running without problems for 5+ days.

                            Thank you a lot @jimp , it works for me since more than 20 days now. We have 3 OpenVPN servers.

                            1 Reply Last reply Reply Quote 0
                            • V
                              Volui
                              last edited by A Former User

                              It's seems to be solved for now (running almost month without crashes). To solve problem do from console from root:

                              pkg update
                              pkg upgrade -y openvpn

                              Or just upgrade to latest release! For me, openVPN run as rock solid after i do upgraded the package and then update system to the latest stable release 2.7.2! Thanks All Guys!

                              1 Reply Last reply Reply Quote 0
                              • L Luvirini referenced this topic on
                              • N
                                ncohafmuta
                                last edited by

                                I just ran into this crash, same errors as OP.
                                This is the first time i've ever seen the openvpn server crash. Usually my prod system is a i3-4130 (for years now), but i've been testing on an n100 system for about a week now and this crash just happened. Same pfsense version and config from the i3 system.
                                I'm running pfsense 2.7.1 w/openvpn 2.6.8_1 so the new version doesn't fix it

                                # pkg info
                                openvpn-2.6.8_1 Secure IP/Ethernet tunnel daemon

                                # openvpn --version
                                OpenVPN 2.6.8 amd64-portbld-freebsd14.0 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] [DCO]
                                library versions: OpenSSL 3.0.12 24 Oct 2023, LZO 2.10
                                DCO version: FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_1-n255918-774957be06d: Wed Nov 15 17:41:06 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_1-main/obj/amd64/GScwGwyy/var/jenkins/workspace/pfSense-CE-snapshots-2_7_1-main/sources/F

                                GertjanG 1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan @ncohafmuta
                                  last edited by

                                  @ncohafmuta said in OpenVPN on 2.7.1 crashes on some circumstances:

                                  I'm running pfsense 2.7.1

                                  Be aware that those who are using 2.7.1 are not the persons who visit this forum.
                                  As they would see right away that 2.7.2 was avaible. Did you test 2.7.2 ?

                                  I'd love to add more details, but 2.7.1 is more then two years old and I can't recall any related info anymore.

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

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