Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to export only the firewall rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to export only the firewall rules (Read 3797 times)
meazz1
Jr. Member
Posts: 90
Karma: 1
How to export only the firewall rules
«
on:
January 11, 2021, 01:21:06 am »
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.
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: How to export only the firewall rules
«
Reply #1 on:
January 11, 2021, 08:03:48 am »
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)
Logged
greeno
Jr. Member
Posts: 80
Karma: 0
Re: How to export only the firewall rules
«
Reply #2 on:
May 27, 2021, 05:12:07 pm »
hi, can I export rules from one opnsense to an other? thanks guys.
Logged
mulaparda
Newbie
Posts: 7
Karma: 0
Re: How to export only the firewall rules
«
Reply #3 on:
March 06, 2024, 11:22:26 am »
Hello greeno, you can do a backup config, and restore only FW rules only
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to export only the firewall rules