Updating Rules from Command Line
Hi there,
How can I go about creating/modifying rules directly from the command line? I would like to be able to write custom scripts to make it easier to quickly add/modify rules (particularly temp time based rules).
Thanks,
Sebastian
-
See this https://docs.firewalla.net/
What you can do now is just create a target list, and use above API to manipulate the content of the target list.
-
Just posted release version 1.0.1 of my PHP Firewalla API. I needed/wanted a way to dynamicly update a Target List via my Fail2Ban instance. I just put it in place on my server. I created a Target List and a script that Fail2Ban will call and add/remove IP addresses from the list, and then send back up to MSP to update the list.
This requires the MSP API of course.
Take a look at https://github.com/jameswillhoite/FirewallaAPI/
Please sign in to leave a comment.
Comments
2 comments