Need some help with Docker, Cloudflare tunnels and Fail2Ban
Hey all,
I have a VPS that is currently running a couple docker containers. I don't understand how to get Fail2Ban working with the containers and Cloudflare Tunnels. Can anyone point me in the right direction?
linuxserver.io has a reverse proxy container called SWAG that integrates fail2ban with an Nginx reverse proxy. You could set that container up as a proxy to your other containers, then point your Cloudflare tunnel to the reverse proxy. I'm in the middle of setting this up on my own homelab, so feel free to reach out if you have any questions.