firewall-cmd --reload Error: COMMAND_FAILED: 'python-nftables' failed:

Support for security such as Firewalls and securing linux
Post Reply
neuronetv
Posts: 89
Joined: 2012/01/08 21:53:07

firewall-cmd --reload Error: COMMAND_FAILED: 'python-nftables' failed:

Post by neuronetv » 2021/07/08 11:14:29

running centos 8 and the firewall will not reload.
the last two commands I did were:
# firewall-cmd --zone=public --remove-service=ssh
success
# firewall-cmd --permanent --add-source=<my pip address> --zone=internal
success
and then # firewall-cmd --reload just keeled over and died. how can I repair the firewall and get it up and running again?
I've been trying in vain for days to restrict ssh access to one ip address but nothing works and now the firewall is fubar. I have been searching on google about this but I can only find bug reports that lead nowhere. thanks for any help.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: firewall-cmd --reload Error: COMMAND_FAILED: 'python-nftables' failed:

Post by jlehtone » 2021/07/08 13:20:21

Do you get anything into logs?

Code: Select all

journalctl -xu firewalld
grep firewalld /var/log/messages
cat /var/log/firewalld

Post Reply