Resetting states from console

  • 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.

  • Rebel Alliance Developer Netgate

    To reset the states for one IP…

    pfctl -k x.x.x.x
    pfctl -k -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

Log in to reply