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

    File Location

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 488 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.
    • lokoalexL
      lokoalex
      last edited by

      Can someone tell me where the Local Database files are located? Need to see if i can create an alert anytime a rule is changed. This is already located in the webui. But i want to be emailed when it happens.

      e155ee9e-8cc4-44fb-a9d7-4868a06aa8fd-image.png

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        The firewall config is in /cf/conf/config.xml but that's probably not what you want.

        Maybe look at auto config backup, that runs whenever there is a config change.

        Steve

        1 Reply Last reply Reply Quote 0
        • lokoalexL
          lokoalex
          last edited by

          Yeah I get that part. But I just want to use email reports to create an alert to be sent out anytime that there is a change to the rules. Or possibly just send the changes once a day so that I know if anyone made a change. I know using the email reports feature I can plug in commands that can be used to send out specific information. I can send myself the backup.cache file daily (that's easy). But I only want the changes made to the file not the entire file. But it also needs to be in a readable format.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You could diff the xml against the most recent backup file like you can in config history. That will show you only what's changed.

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