Navigation

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

    Noob post: Widget to toggle rule and reset states

    Development
    1
    1
    75
    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
      seqteq last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post