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

    Providing a configuration seed file for the "factory default" reset?

    General pfSense Questions
    3
    9
    614
    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.
    • T
      tfuto
      last edited by

      Hello,

      I would like to do a "factory default" reset on a Netgate 6100 but keep the interface definitions (WAN/LAN/VLAN settings). If the router IP address changes to 192.168.1.1, I lose access to it, and physically have to go there and plug in a computer.

      Is it possible to provide a configuration seed file for the factory default reset process?

      P S 2 Replies Last reply Reply Quote 0
      • P
        Patch @tfuto
        last edited by

        @tfuto said in Providing a configuration seed file for the "factory default" reset?:

        Hello,

        I would like to do a "factory default" reset on a Netgate 6100 but keep the interface definitions (WAN/LAN/VLAN settings). โ€ฆ.
        Is it possible to provide a configuration seed file for the factory default reset process?

        I suspect that is done by

        • In a lab reset to factory default.
        • Set up your WAN/LAN/VLAN
        • Save that configuration
        • load that configuration into your remote 6100
        T 1 Reply Last reply Reply Quote 1
        • S
          SteveITS Galactic Empire @tfuto
          last edited by

          @tfuto Some thoughts...

          1. https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html#restore-using-the-external-configuration-locator-ecl
            (someone plugs in USB with preconfigured file during router restart)

          2. reset something else to defaults, save that config file, and restore parts of it to the 6100 as desired.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote ๐Ÿ‘ helpful posts!

          1 Reply Last reply Reply Quote 2
          • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
          • T
            tfuto @Patch
            last edited by

            @Patch Thank you, I will try this.

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

              @SteveITS: Thank you! Very useful link! Unfortunately for this particular case there is no one to plug in an USB drive, but this is good knowledge.

              I will try your second idea.

              P S 2 Replies Last reply Reply Quote 0
              • P
                Patch @tfuto
                last edited by

                @tfuto note your lab device will need to use the same nic configuration as your field device to prevent a console nic reassignment on loading the configuration. Ideally a second 6100

                T 1 Reply Last reply Reply Quote 1
                • T
                  tfuto @Patch
                  last edited by tfuto

                  @Patch I will do that (local 6100 with same NIC configuration), thank you.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @tfuto
                    last edited by

                    @tfuto You could also copy/paste parts of the config file into another config file.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote ๐Ÿ‘ helpful posts!

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      Patch @SteveITS
                      last edited by

                      @SteveITS I was going to suggest something similar but as I have not tried to reverse engineer the configuration file I was unsure how hard that is.

                      To do it I would compare a reset to default configuration file with the existing configuration file.

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