A new guide has been published: How to Install Fail2ban with Firewalld on Rocky Linux 8.4
Howtoforge published a tutorial about installing Fail2ban with Firewalld on Rocky Linux 8.4.
Read more @ Linux Compatible