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

    Custom user interface to control rule?

    General pfSense Questions
    3
    4
    370
    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.
    • ?
      A Former User
      last edited by

      I use pfsense in my home. I often need to enable/disable a LAN rule in order to block my kid's access to the internet depending on the circumstances. I don't want schedules and asking my wife to login into pfsense in the morning on her phone to re-enable access doesn't work out.

      Is it possible to add a web page (ie: https://192.168.0.1/kid_control.php) with two buttons. One that enables a rule and one that disabled a rule? I don't want to require a login.

      Thank you

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @A Former User
        last edited by

        Update: I copied "diag_command.php" and crafted my own simple web page that calls a script to enable/disable a named rule but I still must go through the login page.

        How can I allow a php page like (diag_command.php) to run without logging in?

        1 Reply Last reply Reply Quote 0
        • A
          akuma1x
          last edited by

          I think the best you’re going to be able to do here, to avoid a login, is to have your browser (Firefox, Safari, Chrome) save the login info for you. You DO NOT want to give access to your firewall interface without a login. That’s really bad.

          Jeff

          1 Reply Last reply Reply Quote 0
          • P
            Pandame43
            last edited by

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