This page regroups a list of how to around the firewall firewalld
How to filter
How to forward
How to disable firewalld on rescue mode when all goes wrong
If your firewall is locking you out of your machine, this article will explains you how to disable it and take control back.