How to block an entire class c network instead of just one ip

I’m increasingly experiencing attacks from various IP addresses within a Class C network. Can I block an entire Class C network?

CrowdSec can automated range remediation but it depends on your remediation if it supported, you can add range remediations manually by running cscli decisions add --range 192.168.100.0/24 for example.

Okay, what do I need to do to automate this? Or am I misunderstanding this? Witch remediation Component do i need? I can’t do it manually; I’m too slow.