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

Restoring an old 2.4.3 config to 24.11 is missing OpenVPN servers and CSO

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
15 Posts 2 Posters 517 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.
  • R
    Rico LAYER 8 Rebel Alliance
    last edited by Feb 24, 2025, 5:27 PM

    Hi guys,

    I'm trying to restore one of my old XG-7100 2.4.3 config files to a fresh 24.11 installation.
    The restore completes without any errors but leaves me with an entirely empty section under VPN > OpenVPN > Servers and VPN > OpenVPN > Client Specific Overrides.

    Any ideas?

    -Rico

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Feb 24, 2025, 8:43 PM

      Only the CSOs are removed?

      Any errors logged at import?

      R 1 Reply Last reply Feb 24, 2025, 8:56 PM Reply Quote 0
      • R
        Rico LAYER 8 Rebel Alliance @stephenw10
        last edited by Rico Feb 24, 2025, 8:59 PM Feb 24, 2025, 8:56 PM

        The OpenVPN servers and CSOs.
        No errors in the log.
        If I export a backup file again from the target firewall with OpenVPN missing the xml file is containing all the OpenVPN information, but nothing is shown in the WebGUI.

        -Rico

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Feb 24, 2025, 9:15 PM

          Hmm, so the config sections still look good? Like they are unchanged from the 2.4.3 version?

          Did you import the full config file?

          R 1 Reply Last reply Feb 24, 2025, 9:35 PM Reply Quote 0
          • R
            Rico LAYER 8 Rebel Alliance @stephenw10
            last edited by Feb 24, 2025, 9:35 PM

            Yes, they look completely unchanged from 2.4.3.

            I imported the full backup file.

            I just tried restoring only the OpenVPN section again, and now the entries appear in the WebGUI, but the OpenVPN service is offline.
            I then edited and saved one of the OpenVPN servers, and now its service is running.

            Is this the expected behavior due to significant parameter changes, or should the config import handle this automatically?
            I’m still wondering why the full restore didn’t work—maybe there are other missing elements I haven’t noticed yet.

            I’ll try a full restore on one of my 6100 units tomorrow. Hopefully, this works, especially considering the XG-7100 switch configuration…

            -Rico

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Feb 24, 2025, 10:57 PM

              Yes there are a number of config upgrades that apply after 17.9:
              https://github.com/pfsense/pfsense/blob/master/src/etc/inc/upgrade_config.inc#L5466

              I'd be surprised if none applied to your config. It seems likely it failed to upgrade them for some reason.

              1 Reply Last reply Reply Quote 0
              • R
                Rico LAYER 8 Rebel Alliance
                last edited by Feb 25, 2025, 7:39 AM

                For testing, I imported the full configuration file into CE 2.7.2, and it worked without any problems.
                That corresponds to 23.09.1 right?

                -Rico

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10 Feb 25, 2025, 2:25 PM Feb 25, 2025, 2:25 PM

                  It's the same config version, yes
                  https://docs.netgate.com/pfsense/en/latest/releases/versions.html

                  Do you have MIM enabled in 24.11?

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rico LAYER 8 Rebel Alliance
                    last edited by Feb 25, 2025, 2:37 PM

                    I did not enable MIM, but I can check tomorrow when I'm on-site again. Could this prevent the config from being fully imported?
                    Unfortunately, I don't have a 23.09.1 image, only 23.09. Is this version still able to pull packages? I only need the OpenVPN client export, though.

                    -Rico

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Feb 25, 2025, 2:53 PM

                      It's hard to imagine it would because we've been running here with OpenVPN for a long time but potentially it could create issues with what is shown in the gui. I don't think it would affect anything at import

                      1 Reply Last reply Reply Quote 0
                      • R
                        Rico LAYER 8 Rebel Alliance
                        last edited by Feb 26, 2025, 5:57 PM

                        After extensive testing, I can say that importing my config into 24.03 seems to work. From there, I can upgrade to 24.11.
                        However, importing the config directly into 24.11 does not work, even on my Netgate 6100.
                        I’m still wondering why it doesn’t show any errors and just skips parts.

                        -Rico

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Feb 26, 2025, 8:49 PM

                          Can you compare the config after updating to 24.11 vs just importing directly?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Feb 26, 2025, 9:43 PM

                            Oh it's this: https://redmine.pfsense.org/issues/15895
                            There's a patch for it in the recommended patches list in the System Patches package in 24.11.

                            1 Reply Last reply Reply Quote 0
                            • R
                              Rico LAYER 8 Rebel Alliance
                              last edited by Feb 27, 2025, 9:55 AM

                              Argh, I searched the forum and Redmine but couldn't find anything regarding my problem.
                              Thank you very much for the clarification and your support, Stephen.
                              Anyway, I should be fine with jumping to 24.03 first and then to 24.11, right? :-)

                              -Rico

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Feb 27, 2025, 2:01 PM

                                Yes, that should be fine.

                                1 Reply Last reply Reply Quote 0
                                10 out of 15
                                • First post
                                  10/15
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received