I don't know if what I'm about to say is really a thing, or it's just me not understanding how it works.
I was reviewing logs and found an IP trying to do some nasty stuff on a website, so I decided to block it permanently. I did it using UFW but didn't seem to work, and after some research I found that apparently UFW doesn't work well with docker containers, as in it can't block connections to containers.
Apparently, there are many solutions to this, but all of them are very low level and I'm afraid of doing something that breaks the CP
This is one of them: https://github.com/chaifeng/ufw-docker
Is this something you also face? Or is it something known that just has to be dealt with?
I ended up using Cloudflare to block the IP using bot protection mode.