Firewall rules empty after reboot
-
so this started happening a little while ago. when the router gets rebooted the firewall and nat rules do not get loaded on start up. I first have to SSH in and reload the web config so i can even access the gui. then i do a pfctl -s a to see that there's no rules from our config in there. the only way i've found to fix it is to restore from a back up through the gui which reboots and everythings working again.
I don't see anything obvious in the system log and not sure where else to look. I did a factory reset the other day and reloaded from our back up config. Still not working after reboots. any suggestions of some logs to look through or what the issue is would be greatly appreciated!
-
I have noticed this with some pfsense things. That is I will config something in the web interface and it is impossible to unconfigure. Things like installing packages and never really getting them fully uninstalled.
It might be that something is corrupt or the web interface is not wiping/saving things right.
-
OP's issue sounds like PHP being seriously broken. System log might show something relevant. Uninstalling all packages and loading the full update for the same version you're on would likely fix. And take care what packages you install as installing an "alpha" or "beta" package on a stable base OS can turn the entire system into alpha or beta at best.
-
@cmb:
OP's issue sounds like PHP being seriously broken. System log might show something relevant. Uninstalling all packages and loading the full update for the same version you're on would likely fix. And take care what packages you install as installing an "alpha" or "beta" package on a stable base OS can turn the entire system into alpha or beta at best.
Interesting. I would start over.
-
Thanks, ya I'm going to just format and do a full re-install as I noticed after a factory reset there's still package folders and random things still there.