Skip to main content
Community Scripts logo
Skip to Content
Tools & Add-onsAdd-ons

CrowdSec

Install CrowdSec and its iptables firewall bouncer inside a Debian or Ubuntu container.

crowdsec.sh adds the CrowdSec package repository and installs the security engine together with one bouncer.

Run itInside the container or VM. On a Proxmox VE host confirm_not_pve_host warns and asks Continue anyway? (y/N)
Supported OSDebian or Ubuntu (require_debian_like: Alpine and systems without apt-get exit with code 238)
PortNone is configured by the script
Sourcetools/addon/crowdsec.sh

Run

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/crowdsec.sh)"

Prompts

PromptAnswer
Continue anyway? (y/N) (only on a Proxmox VE host)y installs on the host, anything else exits
This will Install CrowdSec. Proceed (y/n)?y continues, n exits. Anything else asks again

What it installs

  1. curl and gnupg.
  2. The CrowdSec repository, by running the vendor script from https://install.crowdsec.net.
  3. The package crowdsec.
  4. The package crowdsec-firewall-bouncer-iptables.

The script writes no configuration of its own, creates no credentials file and installs no other bouncer. What CrowdSec reads and blocks is decided by the package defaults and by what you configure afterwards.

Update

The script has no update path and installs no update_ helper. Both packages come from the CrowdSec APT repository and are upgraded with apt.

Remove

The script has no uninstall path. Remove the two packages with apt.

Limits

  • The script does not detect an existing installation; running it again repeats the same steps.
  • It runs a vendor script that is not maintained in the community-scripts repositories.