Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Firewall rules empty after reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tripp
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • W
        webdawg
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • W
            webdawg
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • T
              Tripp
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.