RHEL 7.3 Using iptables and firewalld at the same time.
I have a situation where rules are defined in iptables and firewalld is also running. I believe both are contributing rules to netfilter.
I'm diagnosing an snmp-not-responding problem. I'd like to see what the final netfilter rules look like. I have not yet found a command that will show the netfilter rules from the kernel.
Yes it's much more desirable to migrate completely to firewalld. The system is under strict change control. The dev, test, certification cycle is long. I may be able to make some minor changes if I can show that the problem is a result of a rule conflict.
Thanks for your help.
Responses
firewalld is just a fancy state machine for iptables configuration, you can still use all the traditional commands like iptables -nvxL and iptables-save to view the actual tables and rules.
If you need to mix firewalld and iptables rules, firewalld offers its "direct" rules which accept iptables syntax and are persistent.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
