Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
remote "Switch-button" for firewall rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: remote "Switch-button" for firewall rules (Read 1722 times)
meschmesch
Full Member
Posts: 184
Karma: 5
remote "Switch-button" for firewall rules
«
on:
August 30, 2021, 04:44:49 pm »
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!
Logged
tiermutter
Hero Member
Posts: 1097
Karma: 61
Re: remote "Switch-button" for firewall rules
«
Reply #1 on:
August 30, 2021, 05:43:25 pm »
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
Logged
i am not an expert... just trying to help...
meschmesch
Full Member
Posts: 184
Karma: 5
Re: remote "Switch-button" for firewall rules
«
Reply #2 on:
August 30, 2021, 08:48:55 pm »
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
Thanks again for the hint!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
remote "Switch-button" for firewall rules