OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: Aloist on February 11, 2019, 04:20:05 pm

Title: How transfer config from 18.7 to different hardware running 19.1?
Post by: Aloist on February 11, 2019, 04:20:05 pm
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?

Title: Re: How transfer config from 18.7 to different hardware running 19.1?
Post by: the-mk on February 11, 2019, 07:33:37 pm
Export and Import of configuration
Somwhere in System>Configuration>Backup
Title: Re: How transfer config from 18.7 to different hardware running 19.1?
Post by: 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. ;-)
Title: Re: How transfer config from 18.7 to different hardware running 19.1?
Post by: Aloist on February 12, 2019, 03:30:29 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.