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

    OpenVPN could not be established after upgrade to 23.01 on SG-3100

    Scheduled Pinned Locked Moved OpenVPN
    81 Posts 33 Posters 35.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      I would add the line to disable ichsmb on the 4860 before upgrading @johnpoz
      You lose nothing by having it there. We will likely add that by default in 23.05.
      If you're not on the console you won't notice anything anyway.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @stephenw10
        last edited by

        @stephenw10 thanks I was thinking of that.. Any reason why a clean install might be good - change to the zfs layout or anything. I was thinking I should be able to test the zfs rollback feature with this update as well.

        rollback.jpg

        So should I be able to rollback to 22.05 after an update to 23.01?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yes you can roll back to 22.05 from 23.01. But not to 22.01.

          There's no particular reason a clean install should be any better there. IMO at least!

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @stephenw10
            last edited by

            @stephenw10 might have to give that a test run ;) I really don't ever see any need for the feature myself - but might be nice to have at least tested it in case of anyone having questions on it at some point.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • S SteveITS referenced this topic on
            • S SteveITS referenced this topic on
            • F
              fred7911
              last edited by

              Same here (SG-3100), OpenVPN service cannot start after 23.01 update.

              Is the command kldxref /boot/kernel (described in this thead as a fix) the offcial recommended solution, or should we wait for another workaround? If done, would it be a permanent fix?

              Thank you

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I have use that and seen no issues since. It does survive a reboot.

                F 1 Reply Last reply Reply Quote 1
                • F
                  fred7911 @stephenw10
                  last edited by

                  Ok great, thank you!
                  I will also follow your bug report status..

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

                    Same here, kldxref /boot/kernel fixed for me as well. 3100

                    1 Reply Last reply Reply Quote 4
                    • J
                      jsnaza
                      last edited by

                      I also had this issue with a 3100 and the kldxref /boot/kernel command worked for me too.

                      1 Reply Last reply Reply Quote 2
                      • brezlordB brezlord referenced this topic on
                      • brezlordB brezlord referenced this topic on
                      • brezlordB brezlord referenced this topic on
                      • brezlordB brezlord referenced this topic on
                      • C
                        crogerson @stephenw10
                        last edited by

                        @stephenw10 I ended up having this issue on a 1537. Applied the patch from the redmine post and issue is now resolved.

                        1 Reply Last reply Reply Quote 1
                        • A
                          acardenas @stephenw10
                          last edited by acardenas

                          @stephenw10 Is this ran through SSH console? I ran via SSH and ran into the following error: kldxref: can't create /boot/lhint.h6bsDi: Permission denied

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            You probably need to be logged in as root or admin to run that.

                            It should work via Diag > Command Prompt in the webgui though.

                            1 Reply Last reply Reply Quote 0
                            • P
                              PeeKay @stephenw10
                              last edited by

                              @stephenw10 worked for me. Thanks for this!
                              Ran kldxref /boot/kernel in Diagnostics > Command Prompt on 3100 and restarted OpenVPN services. fired up immediately.

                              L 1 Reply Last reply Reply Quote 4
                              • J
                                jkibbey
                                last edited by jkibbey

                                The above fix and/or patch worked for me and VPN functionality is working fine with the only perceived exception: when trying to access the pfSense web gui through VPN, it loads some of the page then hangs. From then forward, it seems to corrupt the gui service (PHP?) for any client until the firewall is rebooted (restarting webConfigurator and restarting PHP-FPM did not resolve the issue, reboot was required.) I also tried different browsers, different client machines, and forcing a cache refresh.)

                                I've tested this through site-to-site as well as remote access through OpenVPN. Everything else through VPN is working fine. Testing included SSH, Remote Desktop, UniFi web gui.

                                I'm using a Netgate 3100.

                                stephenw10S 1 Reply Last reply Reply Quote 0
                                • T
                                  tennbaum
                                  last edited by

                                  @peekay said in OpenVPN could not be established after upgrade to 23.01 on SG-3100:

                                  works for me as well (3100)
                                  kldxref /boot/kernel
                                  all working after (did not check the pfsense gui though)

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator @jkibbey
                                    last edited by

                                    @jkibbey said in OpenVPN could not be established after upgrade to 23.01 on SG-3100:

                                    From then forward, it seems to corrupt the gui service (PHP?) for any client until the firewall is rebooted

                                    Hmm, that's odd. Do you mean it happens one time after updating the linker hints? Or Whenever you try to access the gui over the VPN even after the reboot?

                                    And does that then also apply to local clients accessing it?

                                    Steve

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      jkibbey @stephenw10
                                      last edited by

                                      @stephenw10 It happens anytime I try to access the pfSense gui via the OpenVPN tunnel. All other communication through VPN is fine and the pfSense gui functions like normal if I do not access it via VPN and if I have not attempted to use it via the tunnel after a reboot, even if it was from another client.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Hmm, is it only the webgui, can you ssh to the firewall across the VPN?

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          JayB
                                          last edited by

                                          Dealing with similar result (different cause?) this morning on our 2440. Upgraded HO on Saturday and We've no connectivity this morning (first day office is back since upgrade)

                                          Tunnel is stuck on "Adding Routes to System" and the RO (which did not get the upgrade) is showing "reconnecting: ping-restart". The logs show GDG: problem writing to routing socket. Tried the kldxref /boot/kernel fix but to no effect.

                                          Unable to roll back to previous stable (not offered) so we're putting a spare that's on 22.05 online to replace the borked one.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            What is it connecting to? The only other report of this was at the other end of a link to a 3100 that had also been updated and required the above fix. But if that was the case here it would still fail after you replaced the local end.

                                            You did not also see logged:

                                            ERROR: FreeBSD route add command failed: external program exited with error status: 1
                                            

                                            Which would indicate some sort of route conflict.

                                            Steve

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