Migrating to new hardware, best way to copy settings

Started by Taomyn, June 04, 2020, 01:54:20 PM

Previous topic - Next topic
I'm forced to replace my current firewall box (v20.1.7) which is a small Intel-based mini-ITX box I built 5yrs ago, because the LAN ports have become defective and disappear off the system - tried to replace the 4-port daughter card that I thought was the issue but it still does the same. I have a new box on order, another Intel-based box so I need to get this working the same way as the old one.


What's the best approach to migrate my current set up across to the new box without having to re-enter everything from scratch? I have numerous firewall/NAT rules, many Let's Encrypt certificates for the numerous HAProxy entries I maintain, plus plenty of other things.

back up your config file to your PC. On the new hardware install a basic installation, when done import the old config file, all you need to look out for is the interfaces, if the new and the old are the same make of NIC then you'll have no problem.
OPNsense 25.7a - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on June 04, 2020, 05:30:50 PM
back up your config file to your PC. On the new hardware install a basic installation, when done import the old config file, all you need to look out for is the interfaces, if the new and the old are the same make of NIC then you'll have no problem.


Thanks for the tips, yes they are Intel in both, albeit newer NICs and one less of them 4 vs 5 but I only use 3 any way. As a stop gap I've been able to hook in two USB-2-LAN adapters and after some fiddling got them connected and running - unfortunately they're only 100Mbit but I hope to get a 1Gbit one next week while I wait for the new hardware.