I have a vaultwarden and a crowdsec docker container. The vaultwarden logs are monted on my host at ./vaultwarden/logs/. Also i am using a firewall bouncer on my host which is connected via API to the crowdsec container.
Just for my understanding: Can i install inside the crowdsec container the vaultwarden collection, mount the vaultwarden logs into the crowdsec container and point the acquis.yaml to the vaultwarden logs? Does this work? So if a pattern inside the vaultwarden collection is triggered, the IP gets banned threw the API with the firewall bouncer?
#Use vaultwarden collection when crowdsec and vaultwarden are running in different containers
1 messages · Page 1 of 1 (latest)
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
Yes, it will work
Ok, in my explained setup, what is the correct iptable_chain setup for the Firewall bouncer? Forward? Docker-User? All of them? Like i said, the bouncer is on my Host, the crowdsec Engine itself inside the docker Container
If you are exposing service through docker, you'll need the DOCKER-USERchain at a minimum.
I would also add the INPUT chain if you have anything running on the host that is also exposed
Resolving Use vaultwarden collection when crowdsec and vaultwarden are running in different containers