I have been getting 1000s of failed logins per hour over the past few weeks and I'm sure 99% of them are from bots. I have installed fail2ban and I've been blocking some subnets, but i have also decided to change the port i use for SSH. It's only me using the server, so Its a simple change to get rid of a lot of bot requests.
I have made the change and everything is working fine. I want to now block port 22. I have checked firewalld and there was never a rule for port 22, which makes me wonder how it worked in the first place. Something must have been in place to make sure that port 22 requests were not blocked. How do I disable this and completely lock down port 22?