mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-10 17:03:44 +08:00
9736a77f10
Signed-off-by: Simon L <szaimen@e.mail.de> |
||
---|---|---|
.. | ||
fail2ban.json | ||
readme.md |
Fail2ban
This container bundles fail2ban and auto-configures it for you in order to block ip-addresses automatically. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden, if installed.
Notes
- This is not working on Docker Desktop since it needs
network_mode: host
in order to work correctly. - If you get an error like
"ip6tables v1.8.9 (legacy): can't initialize ip6tables table filter': Table does not exist (do you need to insmod?)"
, you need to enable ip6tables on your host viasudo modprobe ip6table_filter
. - If you get an error like
stderr: 'iptables: No chain/target/match by that name.'
andstderr: 'ip6tables: No chain/target/match by that name.'
, you need to follow https://github.com/szaimen/aio-fail2ban/issues/9#issuecomment-2026898790 in order to resolve this. - See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
Repository
https://github.com/szaimen/aio-fail2ban