Open mendozal opened 10 months ago
You need to enable ipv6 support for docker, because DOCKER-USER
by default only applies to ipv4 and since the chain doesn't exist we cannot bind to the table on ipv6. The chains yaml configuration is both ipv4 and ipv6, currently we dont have a way to configure either unless you change to ipset only mode and write the rules yourself.
Duplicate of #227
I see it now.
I was confused because IPv6 was enabled and working in general, but the internal docker network has it disabled.
I requested this to que software provider and they will look into enabling IPv6 support for the internal docker network(s). I'll update this issue if that solves it.
I did run into the same issue. Maybe worth adding a note on the installation page of the firewall-bounce.
I'm having trouble trying to start the iptables firewall bouncer with ipv6 enabled and these settings:
Ubuntu 22.04 UFW enabled and needed for the specific docker services Docker IPV6 available and configured
This is my crowdsec-firewall-bouncer.yaml config
If I leave the disable_ipv6 to false, the service fails to start
These are the bouncer's logs
If I set disable_ipv6 to true, the service starts fine, no mention of crowdsec6-blacklists in the logs.
If I disable the DOCKER-USER chain but leave disable_ipv6 to false in the bouncer's config I still get a few errors, but the bouncer starts.