Factory reset, but retain serial console settings?

Started by OPNsense4ever, April 30, 2026, 02:22:05 AM

Previous topic - Next topic
I have remote serial access to a OPNsense firewall that I want to reset. I assume if I do a factory reset that it will nuke my serial console settings though? Is there any way to do the reset and maintain serial console access?

Thanks all!

Only if you installed from the OPNsense serial installer image then the console should be enabled with defaults (115200 baud):

https://docs.opnsense.org/manual/how-tos/serial_access.html

I guess you would be able to log in with the default credentials (root:opnsense) if prompted.
N5105 | 8/250GB | 4xi226-V | Community

https://www.youtube.com/watch?v=XI9NG068TwI

How about "restoring" a custom config.xml with serial console enabled and other parts of the .xmp reset to your favourite state and reboot?

kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Today at 03:45:35 AM #3 Last Edit: Today at 03:48:32 AM by OPNsense4ever
Quote from: chemlud on April 30, 2026, 09:38:49 AMHow about "restoring" a custom config.xml with serial console enabled and other parts of the .xmp reset to your favourite state and reboot?



I think this is the right idea. I'm going to put this old firewall together with a new firewall in a CARP cluster. If I backup the config from the new firewall, edit the IPs, restore on the old firewall, that should work, right?