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

    Move to new hardware but keep same config?

    Problems Installing or Upgrading pfSense Software
    3
    5
    7.0k
    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.
    • A
      A.Bursell
      last edited by

      Hello,
      I will be moving from a generic 64-bit setup to an official SG-2440 soon. I'm wondering if it's possible to restore the config file from my current hardware to the new hardware? Both could be running same version of pfSense if that makes a difference. I don't understand enough about it to know if it's purely configuration or if it is specific to the installation it is done on.
      Thanks,
      Adam

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

        Yes, you can move a configuration from one hardware to another.

        You will need to edit the configuration file before applying it to the new system.

        Search for the <if>tag and replace what is between them with what is from the new system.  Look for the tag probably 2 lines above for if it is the WAN, LAN, or other ports.  Example change the underlined part: <if>vmx0</if>

        That will set the interfaces to the correct ports.  You can find the information you will need to set in the Interfaces -> Assignments page or in the console menu of the new system.</if>

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          @jammcla:

          You will need to edit the configuration file before applying it to the new system.

          You don't need to edit the config manually, the auto re-assign interfaces does a pretty good job lately.
          If you have many vlan interfaces it may be easier to manually edit the config, but on a basic setup you should be good just restoring the config on the new box.

          1 Reply Last reply Reply Quote 0
          • A
            A.Bursell
            last edited by

            Excellent- thank you both!

            1 Reply Last reply Reply Quote 0
            • A
              A.Bursell
              last edited by

              Just wanted to finalize this thread and say that this worked perfect even without manual editing of the file. I'm amazed at just how easy it is to work pfSense especially going from different devices and even different versions.

              The only, ONLY issue I had was that I had to change the temperature probe setting from AMD to Intel.

              Thanks again,
              Adam

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