Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
No factory reset...
« previous
next »
Print
Pages: [
1
]
Author
Topic: No factory reset... (Read 4109 times)
LeLLa
Newbie
Posts: 7
Karma: 0
No factory reset...
«
on:
December 05, 2023, 01:35:42 pm »
Hello, i have a brand new DEC3850, i want to reset the firewall to default state but this is impossible throw the web interface or the CLI;
i have setup crowdsec but still after 4 "factory default" i keep seeng the config loaded.
Why you use "factory default" if the system is not reset to default state ?
If you look at the console screenshot you will see the file still intect after default restore was done 4 times....
Also wrowdsec was purged from webgui before factory reset the device
«
Last Edit: December 05, 2023, 01:45:51 pm by LeLLa
»
Logged
gcorre
Newbie
Posts: 13
Karma: 1
Re: No factory reset...
«
Reply #1 on:
December 05, 2023, 06:17:56 pm »
Hi!
How did you reset your device?
In the GUI it's possible to do so by going in "System / Defaults" (see attachment).
I have never used it yet so please tell me if if worked.
Cheers,
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1613
Karma: 176
Re: No factory reset...
«
Reply #2 on:
December 05, 2023, 07:17:14 pm »
I think you could use the "opnsense-bootstrap" tool from the command line to reach that goal:
https://github.com/opnsense/update
https://github.com/opnsense/update/blob/master/src/bootstrap/opnsense-bootstrap.sh.in
I didnt check if thats the same script being called when doing a Factory reset in the GUI or the TUI.
Though that scripts purpose doesn't seem to be to whipe all folders to a base state. The factory reset option, when selected (DO_FACTORY), will remove all files in the /conf/ directory. That means all custom files in other directories will be untouched. I think.
«
Last Edit: December 05, 2023, 07:23:27 pm by Monviech
»
Logged
Hardware:
DEC740
LeLLa
Newbie
Posts: 7
Karma: 0
Re: No factory reset...
«
Reply #3 on:
December 06, 2023, 09:00:41 am »
I think this will works thanks;
i deleted all the crowdsec folders and database myself and now it's working
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
No factory reset...