Open TheLastProject opened 2 years ago
The plugin currently always uses the INPUT chain, unless OMV_FAIL2BAN_CHAIN is set in /srv/pillar/omv/default.sls.
INPUT
OMV_FAIL2BAN_CHAIN
/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.
DOCKER-USER
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).
The plugin currently always uses the
INPUT
chain, unlessOMV_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 theDOCKER-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 (overDOCKER-USER
).