Page 1 of 1

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

Posted: 2021/07/08 11:14:29
by neuronetv
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.

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

Posted: 2021/07/08 13:20:21
by jlehtone
Do you get anything into logs?

Code: Select all

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