From df6794699238e12b0813fe806aa06dbdb066ccad Mon Sep 17 00:00:00 2001 From: TheMardy <36103454+TheMardy@users.noreply.github.com> Date: Fri, 4 Jan 2019 00:22:48 +0100 Subject: [PATCH] Added Docker compatibility --- Fail2Ban-Setup.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Fail2Ban-Setup.md b/Fail2Ban-Setup.md index 0946b9d..c628b17 100644 --- a/Fail2Ban-Setup.md +++ b/Fail2Ban-Setup.md @@ -43,6 +43,12 @@ maxretry = 3 bantime = 14400 findtime = 14400 ``` +Note: Docker uses the FORWARD chain instead of the default INPUT chain. Therefore use the following action when using Docker: + +``` +action = iptables-allports[name=bitwarden, chain=FORWARD] +``` + Feel free to change the options as you see fit. ## Testing Fail2Ban