#Crowdsec or ban IP
1 messages · Page 1 of 1 (latest)
I've banned IPs with Fail2Ban that automatically sets up a rule in Cloudflare...
However, you can block IP's in authentik with Repuration policy under "Customisation"...you would just set a threshold and if an IP exceeds that threshold authentik will deny login
Would you mind sharing an example? I'm trying to get my head around this but I can't seem to succeed
^^ are you able to provide an example for fail2ban? im struggling to find an example.
My fail2ban is using my nginx log, and prior to moving to authentik, i used the sonarr/radarr logs to ban failed attempts.
With authentik, how can i integrate 5 failed attempts result in a cloudflare ban?
https://github.com/goauthentik/authentik/issues/5352
found this, but not 100% sure how to set up the journald part
if you're referring to the commenter in the github issues stating they got it to work, they mean for you to add the logging portion to your docker compose server block
driver: journald
options:
tag: "authentik" # Optional: You can add a custom tag for the logs```
Ahhh ok. Is that comment the right way to go about it?
also im not sure how its possible with unraid
...not too sure about unraid either since I don't use it, however, that comment seems plausible...