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

    What is command to reset state table for a specific IP?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 960 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.
    • S
      sugarcrum
      last edited by

      I was not sure where to post this. I have assigned IP by MAC. I want to be able to run cron job at a specific time (example, 11:00 PM Eastern) for a specific IP to reset the state table for the IP. What would the command to setup for this?

      Thanks!

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

        pfctl -k x.x.x.x/32
        pfctl -k 0.0.0.0/0 -k x.x.x.x/32

        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
        • S
          sugarcrum
          last edited by

          Perfect, thank you.

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