What is the name of the domain?
irrelavant
What is the error number?
there is none
What is the error message?
fail2ban doesn’t react to multiple incorrect ssh attemps
What is the issue you’re encountering
I have been experimenting with trying to add fail2ban for my ssh connections over cloudflare tunnels. I setup a custom jail using cloudflare action with the right API token. However, fail2ban doesn’t react. My amateur guess is that fail2ban doesn’t see the right IP address inside /var/log/auth.log. Apparently all IPs are “::1” and I am not sure if there is a way to show the actual visitor one. I read you can use nginx to proxy the request with the right headers but that seemed only for http/https. Any help would be appreciated