1
Development and Code Review / Adding Rule after plugin installation
« on: August 22, 2018, 04:23:55 pm »
Hi,
i started with Opnsense and need 2 Services for my LAN. So i thought about creating an plugin for them.
The first one is check_mk with (x)inetd and the second is vlmcsd, and KMS Emulator for my lab installations.
So for both of them i need to add Rules to the specified Interfaces to allow certain traffic and i need in the second case an DNS Setting in DNSMasq.
Are there any code examples i could use? Or should i use the API for it, and if yes, i still need an example for it :-)
--
Lord_Pinhead
i started with Opnsense and need 2 Services for my LAN. So i thought about creating an plugin for them.
The first one is check_mk with (x)inetd and the second is vlmcsd, and KMS Emulator for my lab installations.
So for both of them i need to add Rules to the specified Interfaces to allow certain traffic and i need in the second case an DNS Setting in DNSMasq.
Are there any code examples i could use? Or should i use the API for it, and if yes, i still need an example for it :-)
--
Lord_Pinhead