I have set up 100 VLANs / Virtual Interfaces for test environments.
This means I have 100 rules areas in opnsense.
Every now and then, a work colleague needs the internet for a few hours for his VM. So I would like to allow you the internet for the rest of the day.
My idea was:
I wanted to write a C# application, via REST API.
The employee feels out a test environment/rule.
The employee enters a predefined valid IP.
The employee presses OK.
An Any rule is then created for the Internet.
I search once a day with a job for the marked rules and delete them again.
--
Apparently there is no API for rules right?
What mechanisms can I use to realise my idea?
Greetings Denis
Does no one have any ideas for me?
Is it possible to read out the rules via Create, Delete?