้hi
I'm using the firewall plugins API to create rules - lan, wan, etc. but not able to create floating rules. The floating rule is only created when I select multiple interfaces but not when a single or no interface is selected. In case no interface is selected, the rule is added to LAN by default whereas I want it to be added to floating rules as in the opnsense frontend. UFABET (https://www.ufa365.info/ufabet/)
Any help is greatly appreciated.
hi
dont think its possible for now
model dont have <floating> field and have "lan" default value for the <interface> field