fail2ban

fail2ban

Docker app from Built2Succeed's Repository

Overview

Fail2ban container Icon URL : https://raw.githubusercontent.com/FrankM77/docker-fail2ban/master/Fail2ban_logo.png You must add a path to your container log file that you want fail2ban to monitor. Important: If you are using Nginx Proxy Manger with Cloudflare tunnels then you need to pass the client IP to your container that you want fail2ban to protect. For instance I have fail2ban protecting my Jellyfin container but inititally in the Jellyfin logfiles it would log the IP address as 172.18.0.1, so in order to log the real connecting client IP you need to go into Nginx Proxy manager--->proxy host---->Advanced------>Under custom configuration add "real ip header CF-Connecting-IP" without the quotes. You will then notice that your container log (in my case jellyfin) will have the real ip of the connecting user/client.

Runtime arguments

Network
bridge
Shell
sh
Privileged
true
Extra Params
--cap-add=NET_ADMIN --cap-add=NET_RAW

Template configuration

LOG_FILEPathrw

Container Path: /var/log

Target
/var/log
Value
/var/log
dataPathrw

Container Path: /data

Target
/data
Value
/mnt/user/appdata/fail2ban

Download Statistics

39,949,328
Total Downloads
87,348
This Month
81,886
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
crazymax/fail2ban:latest
Last Updated2026-03-29
First Seen2022-01-27

Run Fail2ban on Unraid.

Fail2ban is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.