OpenMediaVault-Plugin-Developers/openmediavault-fail2ban

Feature request: Add ability to specify chain

TheLastProject opened this issue · 0 comments

The plugin currently always uses the INPUT chain, unless OMV_FAIL2BAN_CHAIN is set in /srv/pillar/omv/default.sls.

It would be nice for this to be configurable, as Docker doesn't use the INPUT chain but the DOCKER-USER chain, see https://github.com/crazy-max/docker-fail2ban#docker-user-and-input-chains for more explanation.

It would be nice to be able to specific the chain so that I can use this fail2ban plugin to both fail2ban SSH (over INPUT) and my Traefik Docker install (over DOCKER-USER).