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.

Install Fail2ban on Unraid in a few clicks.

Find Fail2ban in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Fail2ban Review the template variables and paths Click Install

Download Statistics

40,101,379
Total Downloads
98,444
This Month
82,580
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
crazymax/fail2ban:latest
Last Updated2026-06-19
First Seen2022-01-27

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