Import pf config to pfsense
-
Hey,
I have a pf firewall that is being used in a production environment, that has a few hundred IPs configured and a lot of rules. The box needs replacing and I thought I would switch to pfsense s I've been using it at home and love it. I was wondering if there was any way to convert/import the pf.conf file so that pfsense could use it. -
There aren't any import tools or automated conversions for that scenario.
-
Hey,
I have a pf firewall that is being used in a production environment, that has a few hundred IPs configured and a lot of rules. The box needs replacing and I thought I would switch to pfsense s I've been using it at home and love it. I was wondering if there was any way to convert/import the pf.conf file so that pfsense could use it.You could do this yourself with a text editor and some macros (or vi). Just create a rule in the UI so that you can look at how it gets saved in the config.xml file (see /conf/config.xml). From there you can figure out how to take your list and manually create the additional entries in the config.xml file. Depending on what you've got and how good you are with macros it might be easier than entering all of them in the UI.
Once you put the new config.xml in place, reboot and pfSense will pickup the changes.