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
Please advise.
Thanks in advance!
Try this:
systemctl unmask firewalld
return: Removed symlink /etc/systemd/system/firewalld.service.
After that, you can:
systemctl restart firewalld
Try this:
sudo systemctl restart firewalld
sudo systemctl enable firewalld
But before you should install firewalld
. You can use yum
for that:
sudo yum install firewalld
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With