This page regroups a list of how to around the firewall firewalld
If your firewall is locking you out of your machine, this article will explains you how to disable it and take control back.
How to disable your firewall in rescue mode ?