cs-unifi-bouncer
ghcr.io/teifun2/cs-unifi-bouncer
https://github.com/teifun2/cs-unifi-bouncer/pkgs/container/cs-unifi-bouncer
bridge
sh
false
https://github.com/teifun2/cs-unifi-bouncer/issues
https://github.com/teifun2/cs-unifi-bouncer
https://github.com/teifun2/cs-unifi-bouncer
This container implements a CrowdSec bouncer for UniFi routers. It blocks malicious IP addresses by dynamically updating UniFi firewall address groups through the UniFi API.
Procedure:
1. Generate a CrowdSec bouncer API key:
cscli bouncers add unifi-bouncer
2. Copy the generated key (it will only be shown once).
3. Set the key as the environment variable CROWDSEC_BOUNCER_API_KEY.
4. Start the container. It will automatically communicate with your UniFi controller and apply firewall rules.
Additional configuration variables can be found here:
https://github.com/teifun2/cs-unifi-bouncer/pkgs/container/cs-unifi-bouncer#configuration
Security Network
https://github.com/teifun2/cs-unifi-bouncer/raw/main/docs/assets/crowdsec_unifi_logo.png
1767923169
You must have both a UniFi controller and a CrowdSec instance running. The container must have network access to both services.
http://crowdsec:8080/
unifi
false