I just install crowdsec /mailcow on debian 12
At first glance, everything seemed to be working.
I see alerts, my bouncer is ticked etc etc.
I test my config :
I banned the IP address of a VPN I use and tried connecting to my MailCow, and strangely, the connection went through without a hitch.
Solution :
If you’re using Debian and have Debian’s cs-firewall-bouncer, don’t forget to check out:
/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml
and uncomment
- DOCKER-USER
in the iptables_chains section
Source : https://docs.crowdsec.net/u/bouncers/firewall/#iptables_chains
note : If you are using a dockerized application and allow remote connections to the exposed port, you need to add the DOCKER-USER chain to the list of chains.