Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start some sample using the opnsense API #13

Open
zerwes opened this issue Feb 3, 2022 · 2 comments
Open

start some sample using the opnsense API #13

zerwes opened this issue Feb 3, 2022 · 2 comments

Comments

@zerwes
Copy link
Collaborator

zerwes commented Feb 3, 2022

using the opnsense API (https://docs.opnsense.org/development/api.html)

@zerwes
Copy link
Collaborator Author

zerwes commented Mar 8, 2022

for example I see no chance to implement the configuration of monit via the legacy xml way with reasonable effort and without taking mental damage.
So the API is here the only way to go ... https://docs.opnsense.org/development/api/core/monit.html

@zerwes
Copy link
Collaborator Author

zerwes commented Dec 27, 2022

https://github.com/zerwes/opnsense-fail2ban/blob/main/opnsense-fail2ban.py
sample script using the firewall/alias_util and diagnostics/firewall api endpoins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant