How to export pfSense firewall rules to a .CSV file or other
- 
 Dear Users, do you know if there is a way to export to a .CSV file (or other) all the firewall rules defined in my pfSense instance? Thank you in advance, 
 Mauro
- 
 @mauro-tridici 
 You can export the whole rule set as XML in Diagnostics > Backup & Restore > Backup & Restore > Backup area > Firewall Rules or you can download /tmp/rules.debug.
- 
 @viragomann These are the only ways, yes. The /tmp/rules.debug file is in tab-delimited format 
- 
 @viragomann thank you 
- 
 @rcoleman-netgate thank you 
- 
N nasheayahu referenced this topic on
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.