firewalld vs iptables - when to use which [closed]
Solution 1:
As firewalld
is based on XML configuration, some might think that it's easier to configure the firewall in a programmatic manner. This can be achieved by iptables
just as well, but with a different way, which is not XML. If you are already familiar with the way iptables
works, why would you migrate all your configuration to firewalld
?
If you consider your largest iptables
firewall rule set, how often do you think you would benefit from the dynamic aspect of firewalld
? In most cases the performance of iptables
is never the issue. In most cases where the performance of iptables
is an issue can be fixed by using ipset
based source/destination IP sets.
It is a different debate whether or not you should use NetworkManager.