The firewall port has been configured recently, but the firewall-cmd --reload operation is invalid and
the following error is always reported.
ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.2 (nf_tables):
line 4: RULE_REPLACE failed (No such file or directory): rule in chain INPUT
line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT
Solution
vim /etc/firewalld/firewalld.conf
turn up
IndividualCalls=no
#把no改为yes
Press esc
, enter to :wq
save and exit
and then restart the firewalld service
systemctl restart firewalld.service
After restarting, you can execute firewall-cmd --reload normally.