I have my firewall up and running on PFSense. But I like the idea of open source software, and really want to give OPNSense a shot. I’m pretty sure it won’t be as simple as installing OPNSense and feeding it the PFSense backup xml.
I see PfFocus looks like the tool to use to make a readable configuration out of my PFSense xml file.
But I haven’t been able to figure out the python and syntax , as the instructions on the pfFocus page are vague at best.
Is there a tutorial on this somewhere? Or at least a coherent howto?
Ok…getting errors on my docker ,
I installed it in docker , where I have made the most progress using the supplied instructions, but when I go to run it, I’m getting "format error, the following args are required : -i " . the “-i” argument is the input file. I have the input file set up as in the example given on the website. I am in over my head on this one. lol All I get are format errors, and the documentation isn’t helping
got it working in docker on Linux. Dumb mistake on my part. Someone on reddit pointed out that I left out the carets around my input filename when I typed in my command line.
correct working syntax :
docker run --rm -i hugojosefson/pffocus < input.xml > output.md
OP, Pro Tip, don’t bother with OPNSense. pfSense is also Open Source and is much more robust, easier to configure and predictable than the “rolling distro” OPNSense. And btw, OPNSense is finally ditching HardenedBSD for FreeBSD 13.x so be ready to fix issues a bit more in the upcoming years.