systemctl status firewalld.service
systemctl stop firewalld.service
systemctl disable firewalld.service
dnf install iptables-services
systemctl mask firewalld.service
systemctl enable iptables.service
systemctl enable ip6tables.service
Большинство находят firewalld проще, чем конфиги iptables