CrowdSec is a very good and modern replacement if your server is using fail2ban before. Here is the simple guideline to teach you how to install and using it simply on your Debian based server, which shouldn't be much different on using it on Centos or Windows server as well.
Management Console Login Information:
Link: https://app.crowdsec.net/
Local CLI command Control:
https://docs.crowdsec.net/docs/user_guides/decisions_mgmt/
sudo cscli help
With this command you would see all the command information