OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • How transfer config from 18.7 to different hardware running 19.1?
« previous next »
  • Print
Pages: [1]

Author Topic: How transfer config from 18.7 to different hardware running 19.1?  (Read 4784 times)

Aloist

  • Newbie
  • *
  • Posts: 23
  • Karma: 2
    • View Profile
How transfer config from 18.7 to different hardware running 19.1?
« 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?

Logged

the-mk

  • Full Member
  • ***
  • Posts: 156
  • Karma: 15
    • View Profile
Re: How transfer config from 18.7 to different hardware running 19.1?
« Reply #1 on: February 11, 2019, 07:33:37 pm »
Export and Import of configuration
Somwhere in System>Configuration>Backup
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: How transfer config from 18.7 to different hardware running 19.1?
« Reply #2 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. ;-)
Logged
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....

Aloist

  • Newbie
  • *
  • Posts: 23
  • Karma: 2
    • View Profile
Re: How transfer config from 18.7 to different hardware running 19.1?
« Reply #3 on: February 12, 2019, 03:30:29 pm »
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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • How transfer config from 18.7 to different hardware running 19.1?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2