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

Reset to factory default from CLI

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 2.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.
  • T
    tedquade
    last edited by Sep 28, 2022, 6:25 PM

    What, if any, is the command to reset pfsense to factory default. Both web gui and console are corrupted in some manner a result of restoring a corrupted config XML.

    Ted

    T 1 Reply Last reply Sep 29, 2022, 1:59 AM Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 28, 2022, 7:29 PM

      Depending on how broken it is you might be able to do:

      [2.7.0-DEVELOPMENT][admin@cedev-3.stevew.lan]/root: /etc/rc.initial.defaults
      
      You are about to reset the firewall to factory defaults.
      The firewall will reboot after resetting the configuration.
      All additional packages installed will be removed.
      Do you want to proceed [y|n]? 
      
      

      Steve

      1 Reply Last reply Reply Quote 0
      • T
        tedquade @tedquade
        last edited by Sep 29, 2022, 1:59 AM

        @tedquade Seems it was quite broken. Did a bare-metal memstick install and config restore. Am now back in operation.

        Thanks for your help.

        Ted

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