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

Custom user interface to control rule?

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 3 Posters 372 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.
  • ?
    A Former User
    last edited by May 5, 2020, 9:41 PM

    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 May 6, 2020, 12:43 AM Reply Quote 0
    • ?
      A Former User @A Former User
      last edited by May 6, 2020, 12:43 AM

      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 May 6, 2020, 1:32 AM

        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 May 9, 2020, 6:35 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received