From 4e0add78fcc2f9dab2e914c8e62e61192056d35d Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Sun, 1 Dec 2024 22:45:17 +0000 Subject: [PATCH] Bot Updating Documentation --- docs/images/docker-fail2ban.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/images/docker-fail2ban.md b/docs/images/docker-fail2ban.md index 451fdda39..6b66be5cd 100755 --- a/docs/images/docker-fail2ban.md +++ b/docs/images/docker-fail2ban.md @@ -59,6 +59,10 @@ Each log file should be mounted in a subfolder underneath `/remotelogs`, ex: To help you get started creating a container from this image you can either use docker-compose or the docker cli. +!!! info + + Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided. + ### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose)) ```yaml @@ -186,6 +190,8 @@ Containers are configured using parameters passed at runtime (such as those abov | Parameter | Function | | :-----: | --- | +| `--cap-add=NET_ADMIN` | Required for fail2ban to be able to modify iptables rules. | +| `--cap-add=NET_RAW` | Required for fail2ban to be able to bind to any interface & use RAW sockets. | ### Portainer notice