Custom user interface to control rule?
-
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
-
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?
-
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
-
This post is deleted!