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.
How about "restoring" a custom config.xml with serial console enabled and other parts of the .xmp reset to your favourite state and reboot?
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?