The following is my solution, just temporarily. It seems that this is a common problem, please solve it head-on.https://forum.opnsense.org/index.php?topic=25877.0
Officially IPS doesn't support virtual interfaces, such as VLAN's (https://docs.opnsense.org/manual/ips.html#choosing-an-interface). In 21.7.6 we added the new netmap api which seems to enable emulated mode in these cases. I've seen a similar setup yesterday where someone added a bunch of vlan's to IPS, which starts but will not detect anything in previous versions of suricata (for a functional setup you need to capture the parent in promisc mode).In 21.7.7 we will temporary revert the new api, which will then be back in 22.1, I haven't tried if it works for vlan's in 22.1, maybe it does, maybe it doesn't, if it doesn't we may have to tighten validations at some point from preventing people to choose these type of setups.Best regards,Ad
How do i upgrade to 22.1? Is this still in DEV?
On the physical interface it should work in principle, provided the hardware is properly supported. You can always try the beta for 22.1 by the way, maybe if there's a driver issue a newer version of the kernel might show different behaviour.Best regards,Ad