Hi,
does anyone know about a possibility whether it is possible to implement a remote "switch-button" (on/off state) to enable or disable a certain firewall rule. The background is that I have a rule that blocks internet for some devices of my kids. I would like to have an easy possibilty to enable or disable the rule without the need for my wife to use the opnsense interface...
Thank you for your ideas!
There is a Beta App for Android which allows to enable/disable rules.
I never used the app, maybe its what you are looking for.
https://github.com/Red-Swingline/OPNsenseManager/releases/tag/v1.0.4-beta
I finally suceeded to solve the problem using the API for accessing firewall rules. In my home automation software I have a switch to turn on and off the rules, which in each case triggers a bash-script according to the commands listed in this post: https://forum.opnsense.org/index.php?topic=16943.0 (https://forum.opnsense.org/index.php?topic=16943.0)
Thanks again for the hint!