Show all rules 🔗
sudo firewall-cmd --list-all
Redirect ports 🔗
sudo firewall-cmd --zone="$(firewall-cmd --get-default-zone)" \
--add-forward-port=port=443:proto=tcp:toport=8443 --permanent
sudo firewall-cmd --zone="$(firewall-cmd --get-default-zone)" \
--add-forward-port=port=80:proto=tcp:toport=8080 --permanent