comparing iptables and firewall-cmd

Posted on

Hi, if i happen to run and iptables command on RHEL 7.7 server like this:
iptables -I INPUT -p tcp -s 127.0.0.3 -j DROP

i can see it with "iptables -L"

Is there a way to see it using firewall-cmd command ?
The closest i have gotten is this:
firewall-cmd --direct --get-all-rules

But i think that command assumes the rule was added with firewall-cmd and not iptables.

Thank you to anyone who can confirm what i am trying to do is not possible.

Responses