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

    Error "loading the rules" after reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 30 Views 2 Watching
    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.
    • A Online
      ahole4sure
      last edited by

      I had to restore a backup after I lost some hardware -- I thnk this might be where the issue came from
      I think this might be the first reboot that has occurred after the setup

      Here's the error:
      18:15:59 There were error(s) loading the rules: /tmp/rules.debug:95: macro 'TAILSCALE__NETWORK' not defined - The line in question reads [95]: nat on $Tailscale inet from $OPT1__NETWORK to $TAILSCALE__NETWORK -> (Tailscale) static-port

      But screenshots on my NAT page don't show the culprit.

      Was able to get to the file /tmp/rules.debug but wasnt sure how to or even if I could edit the file

      As noted in the sceenshot I don't even have and "static ports" defined in the settings BUT I think I might have in my prior setup for restoring a backup (I had to manually recreate a number of things to get the restored backup to work)

      Just woud like to fix so that I quit getting the notification of the error

      Image 8-6-25 at 8.57 PM.jpeg

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

        It's almost certainly because at the first boot it had not yet installed the Tailscale package when it first loaded the ruleset.

        If that error doesn't re-appear after clearing it and the tailscale package is now installed then it's nothing to worry about.

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