Lookup tables with dst-port as argument
Patrick Tracanelli
eksffa at freebsdbrasil.com.br
Wed Jan 20 15:28:13 UTC 2021
Hello FreeBSD community,
I need to dynamically allocate filtering ports on a tuplet, table would do the job, can I lookup the port argument from a table? Something like:
ipfw add count all from “table(blist)” to any dst-port tablearg in
In the above example table blist was created as “ipfw table blist create type number”.
It certainly won’t work as above written since tablearg is not supported for dst-port.
Is there any other approach possible to reach this desired behavior?
More information about the freebsd-ipfw
mailing list