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

    Firewall scheduling weirdness

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 1.9k 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.
    • valnarV
      valnar
      last edited by

      I have setup a block in a LAN firewall rule to block certain IP's during the day and setup a schedule for that time period and applied it to the FW rule.  It does not work unless I reboot the firewall.  Is there a known bug?  This is on an ALIX with the 1.2.3 nanobsd version.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You need not reboot to make it work, but it won't disconnect any active connections that exist when you add the rule until you clear the states (Diagnostics > States, Reset States tab)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • valnarV
          valnar
          last edited by

          @jimp:

          You need not reboot to make it work, but it won't disconnect any active connections that exist when you add the rule until you clear the states (Diagnostics > States, Reset States tab)

          OK thanks.  Can it hard disconnect the states when the rule takes affect?  (I want it to, otherwise my daughter's FB connection would stay up indefinitely!)

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Yes, it should disconnect active sessions when the rule schedule is in effect (or stops taking effect, depending on if you did a pass/block), but IIRC there is a difference in reloading the rules and the rule going into/out of its scheduled time.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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