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

    Resetting states from console

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 13.3k 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.
    • B
      broncoBrad
      last edited by

      This seems like a very simple question, but I can't seem to locate the answer.

      What is the command if there is one to reset the state tables from the console?

      Currently, I cannot access the Web Configurator because it appears that even though I can connect to all of my interfaces I can't access the Web Configurator.

      Any help would be greatly appreciated as my home currently has no access to the internet because of whatever problem my pfSense box is having.

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

        To reset the states for one IP…

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

        To reset all states

        pfctl -F state
        

        And to give the GUI a full reset, which is probably what you want to do anyhow…

        killall -9 php; killall -9 lighttpd; /etc/rc.restart_webgui
        

        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 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.