Ban an IP address manually in CrowdSec
crowdsec ban ip manually | cscli decisions add | block ip range crowdsec | crowdsec | cscli | banCaution: This command changes the system. Understand what it does before you run it.
cscli decisions add --ip 203.0.113.25 --duration 24h --reason 'manual ban'Creates a decision of type ban for the IP that expires automatically after the given duration. Valid durations are, for example, 30m, 4h or 168h. Using --range 203.0.113.0/24 instead of --ip bans an entire network.
Note: The ban only takes effect if a bouncer is installed and connected (cscli bouncers list).
Also searched as
- crowdsec ban ip manually
- cscli decisions add
- block ip range crowdsec