How to export only the firewall rules

Started by meazz1, January 11, 2021, 01:21:06 AM

Previous topic - Next topic
How do I export the entire firewall /aliases rules so I can post it on a forum for specific suggestion?
I tries the export option but that did not give me the entire firewall rules in a format I can use.

Not sure whether this is in a format you want, but you can see them in /tmp/rules.debug or list them with pfctl -sr (or list everything with pfctl -sa)

hi, can I export rules from one opnsense to an other? thanks guys.

Hello greeno, you can do a backup config, and restore only FW rules only