My firewall is currently inactive.
systemctl status firewalld firewalld.service Loaded: masked (/dev/null) Active: inactive (dead)
I used the following command to enable the firewall
# systemctl unmask firewalld
but I got this error:
# systemctl unmask firewalld
Failed to issue method call: Access denied
# sudo systemctl restart firewalld
Failed to issue method call: Unit firewalld.service failed to load: No such file or directory.
# sudo systemctl enable firewalld
Failed to issue method call: Access denied