Crowdsec on Proxmox host

installation on proxmox host

apt's repo

curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash

installation

sudo apt install crowdsec

add iptables bouncer

sudo apt install crowdsec-firewall-bouncer-iptables

add proxmox collections

sudo cscli collections install fulljackz/proxmox
sudo systemctl reload crowdsec

add proxmox scenarios

cscli scenarios install fulljackz/proxmox-bf
sudo systemctl reload crowdsec

Small change in the configuration for the SQLite database

file: nano /etc/crowdsec/config.yaml

db_config:
  log_level: info
  type: sqlite
  db_path: /var/lib/crowdsec/data/crowdsec.db
  use_wal: true

Optional - Crowdsec Dashboard

Add security engine.