From 4287a8f738fc0feefec90aea0d25fe197cfdb8da Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 4 Apr 2026 01:06:02 +0000 Subject: [PATCH] Update Proxy_Containers/traefik/traefik.yaml --- Proxy_Containers/traefik/traefik.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Proxy_Containers/traefik/traefik.yaml b/Proxy_Containers/traefik/traefik.yaml index 445d12a..ca00070 100644 --- a/Proxy_Containers/traefik/traefik.yaml +++ b/Proxy_Containers/traefik/traefik.yaml @@ -37,4 +37,20 @@ experimental: plugins: fail2ban: moduleName: "github.com/tomMoulard/fail2ban" - version: "v0.8.9" \ No newline at end of file + version: "v0.8.9" + +http: + middlewares: + my-fail2ban: + plugin: + fail2ban: + allowlist: + ip: ::1,127.0.0.1 + denylist: + ip: 192.168.0.0/24 + rules: + bantime: 3h + enabled: "true" + findtime: 10m + maxretry: "4" + statuscode: 400,401,403-499