OPNsense Forum

English Forums => General Discussion => Topic started by: swingline on October 28, 2018, 09:23:14 am

Title: API for Firewal rule?
Post by: swingline on October 28, 2018, 09:23:14 am
Just wondering if this could be done with API enable/Disable firewall rule.

For exsample:

I have a rule that blocks all traffic for my kids devices when they are acting up. Just wondering If I could use the API to make a two button android app for my wife to enable/disable the rule when I'm not around?



Title: Re: API for Firewal rule?
Post by: franco on October 29, 2018, 08:34:44 am
Firewall alias API support was added in 18.7.6. Full firewall rule API support is pending.


Cheers,
Franco
Title: Re: API for Firewal rule?
Post by: DorseyMac on November 02, 2018, 12:55:05 pm
Just found Home Pursuits (https://homepursuits.co/) and wondering if this could be done with API enable/Disable firewall rule.

For exsample:

I have a rule that blocks all traffic for my kids devices when they are acting up. Just wondering If I could use the API to make a two button android app for my wife to enable/disable the rule when I'm not around?

Any ETA on the full firewall rule API at this point, Franco? I'm just curious.
Title: Re: API for Firewal rule?
Post by: franco on November 02, 2018, 07:12:52 pm
It's lacking funding to give any reliable deadline. Only thing that is for sure is not in 2018, easily 2020 if this trend continues.


Cheers,
Franco