On 02/10/2023 13.46, [EXT] Karsten Horsmann wrote:
> Just for my intressed why would someone want to disable iptables and
> use only userspace? I know in RHEL 9.2 it's not possible (I think so).
> But what is the benefit? If Rocky 8 for example has support for
> iptables and EOL is nearly the same as RHEL 9.2?
This is about a very different feature and is not about the kernel mode
forwarding 😅
The `with_iptables_option` switch controls inclusion of a feature which
dynamically manages firewall rules (opening and closing ports) via
iptables. This isn't widely used and is unrelated to the kernel module.
Usage of the kernel module was (until very recently) also controlled via
iptables, but doesn't depend on the `with_iptables_option`
Since
https://github.com/sipwise/rtpengine/commit/794f8e3c017847697ff7f20217d6de2a6bc98952
we have the capability to control usage of the kernel module directly
without having to rely on iptables (although there's still a bug which
can break it - patch is pending), but the feature to manage firewall
rules hasn't been ported yet and would still require the iptables library.
All that of course doesn't really answer your question, as there are
legitimate reasons to run in userspace only (in a VM or container for
example). But disabling the `with_iptables_option` switch isn't one.
Cheers