Noob post: Widget to toggle rule and reset states



  • I need a bit of direction, please.

    I'd like to create a widget that:

    • enables/disables a specific rule on the LAN interface

    • Resets states

    I have a basic widget created but I don't know where to start building.

    How would you turn a rule on or off? Javascript or PHP inlcudes? Would someone point me to the documentation that could show me how to programatically configure pfSense rules?

    Thank you!


Log in to reply