Transfer settings from VM to hardware PfSense
-
I started with PfSense on a VM, but it was too inefficient and I couldn't afford downing the whole lan whenever the server was down. So I bought the PfSense appliance, and I received it today.
My question is: is there a painless way to transfer all the settings from the VM PfSense to the new hardware-based PfSense? Any advice would be received with wondrous gratefulness! ;)
-
If you just restore the old configuration you will be prompted to reassign interfaces to the new ones on the new hardware.
That can get a little rocky sometimes especially if there are VLANs, LAGGs, etc.
You should generally just be able to change the interface names to match by downloading and editing a config.xml backup. If you use search and replace (recommended) be sure to check every one manually to be sure it's actually an interface name and not a match in a binary blob somewhere.
s/em1/igb1/ etc. There are usually very few changes to make as everything but interface assignment, VLANs, and LAGGs (I think that's all) is "relational" and not tied to the physical interface names.
-
There are usually very few changes to make as everything but interface assignment, VLANs, and LAGGs (I think that's all) is "relational" and not tied to the physical interface names.
Nice to know….I was about to do the same and rebuild from scratch. Do you know of the config for packages gets included in the xml file, such as the zones, etc for BIND?
-
Yes. While you're in there search for bind and you'll see the XML.
-
Thanks. Deployment went down without a glitch!