Restoring Firewall Rules
-
Hello,
So while playing with static routes my co-worker accidentally created a routing loop in the middle of the work day. To quickly get traffic moving again I restored the Pfsense box to factory default. Unfortunately I have not backed up my firewall rules (I know shame on me) simply because I needed to clean them up first. I am curious if this rule file is possibly some where on the box that I can find via the shell. I have found the rules.debug and a rules.debug.old. Ive cat these files and they seem to be current rules I have recreated since restoring to default.If there isnt a way to restore these rules, can you please tell me what the best practice is for backing up these rules so I dont run into this problem again. Thanks in advance.
Edit: Ah I see where you backup/restore. So Im just curious if the old rules are somewhere on this box? Thanks!
-
I'm not sure if the factory restore clears this directory, but check /conf/backup.
-
I'm not sure if the factory restore clears this directory, but check /conf/backup.
Looks like it does. All my config.xml files are current rule sets. Thank you anyways, Ive pretty much been piecing it back together for the past few hours watching what is blocked and tracing it to the source and determining what the traffic is. I know that I will be backing up my config this time. Thanks again for the help!