How transfer config from 18.7 to different hardware running 19.1?

Started by Aloist, February 11, 2019, 04:20:05 PM

Previous topic - Next topic
I am going to have a new firewall device running Opnsense 19.1

My current firewall runs 18.7 on different hardware. I do not dare to upgrade as I fear kernel panic after upgrade.
(has been discussed in a different thread).

How can I transfer the Opnsense configuration from the old hardware to the new hardware?


Export and Import of configuration
Somwhere in System>Configuration>Backup

...assign new interfaces (via vga or serial console) on reboot after restoring the config.xml backup, if the interfaces differ between the two installs. ;-)
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....

Quote from: chemlud on February 11, 2019, 08:46:33 PM
...assign new interfaces (via vga or serial console) on reboot after restoring the config.xml backup, if the interfaces differ between the two installs. ;-)

Is it like this?

On the new machine I get  only default configuration.

I have to assign the interfaces and IPs to them. Now I have network connection.

Then I can reload my previous 18.7 config file from the system where it is backed up (not from Google, because I will not have opened the WAN connection yet).

Now I get the wrong interface names from the backup which was from different hardware. Network connection will be lost.

I have to edit the interface names, and will have network connection again and all the other firewall etc. configuration details.