Desired Outcome:
Understanding all CLI commands and features of firewalld (which replaced iptables)
XREF to this for info:
https://oracle-base.com/articles/linux/linux-firewall-firewalld#firewall-cmd
Error I’m working with:
firewall-cmd –zone=public –list-services
ERROR:dbus.proxies:Introspect error on :1.4:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.21″ (uid=1000 pid=2418 comm=”/usr/bin/python -Es /usr/bin/firewall-cmd –zone=p”) interface=”org.freedesktop.DBus.Introspectable” member=”Introspect” error name=”(unset)” requested_reply=”0″ destination=”:1.4″ (uid=0 pid=618 comm=”/usr/bin/python -Es /usr/sbin/firewalld –nofork -“)
Error: Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.21″ (uid=1000 pid=2418 comm=”/usr/bin/python -Es /usr/bin/firewall-cmd –zone=p”) interface=”org.fedoraproject.FirewallD1.zone” member=”getServices” error name=”(unset)” requested_reply=”0″ destination=”:1.4″ (uid=0 pid=618 comm=”/usr/bin/python -Es /usr/sbin/firewalld –nofork -“)
Answer to above error — when working with firewalld, be root (or su -)