apt install -y sudo wget
sudo -i
wget "https://raw.githubusercontent.com/Onair-santa/Crowdsec-1-click/main/install.sh" -O install.sh && chmod +x install.sh && bash install.sh
- Remove firewalld, ufw or iptables
- Install nftables
- Open ports 22, 443, 80
- Install Crowdsec
- install config Crowdsec
- Starting Crowdsec
-
config /etc/crowdsec/config.yaml (online community (blocked IP) base is disabled)
-
bounsers list: firewall-bouncer
-
Bucket list: ssh-bf, ssh-slow-bf
-
Status command:
cscli metrics cscli decisions list cscli alerts list cscli bouncers list