Comment on What steps do you take to secure your server and your selfhosted services?
qjkxbmwvz@startrek.website 2 days ago
Fail2ban config imcan get fairly involved in my experience. I’m probably not doing it the right way, as I wrote a bunch of web server ban rules — anyone trying to access wpadmin gets banned, for instance (I don’t use WordPress, and if I did, it wouldn’t be accessible from my public facing reverse proxy).
I just skimmed my nginx logs and looked for anything funky and put that in a ban rule, basically.
ocean@lemmy.selfhostcat.com 1 day ago
Thanks!
Here’s the setup I followed. It seems like it might take away some manual work for you: m.youtube.com/watch?v=Ha8NIAOsNvo&t=1294s&pp=ygUI…