# crowdsecurity/http-ddos-by-ASN and http-ddos-by-cn

**URL:** <https://discourse.crowdsec.net/t/crowdsecurity-http-ddos-by-asn-and-http-ddos-by-cn/1022>\
**Category:** crowdsec\
**Created:** [November 14, 2022, 7:36pm UTC](https://discourse.crowdsec.net/t/crowdsecurity-http-ddos-by-asn-and-http-ddos-by-cn/1022 "2022-11-14T19:36:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blu-IT](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/blu-it/32/461_2.png) [@blu-IT](https://discourse.crowdsec.net/u/blu-IT)\
**Post date:** [November 14, 2022, 7:36pm UTC](https://discourse.crowdsec.net/t/crowdsecurity-http-ddos-by-asn-and-http-ddos-by-cn/1022/1 "2022-11-14T19:36:50Z")

</div>

Hi,

I found that nice article/introdution for these scenarios here:

crowdsecurity/http-ddos-by-ASN and crowdsecurity/http-ddos-by-cn

> **[How to beat application DDoS attacks with CrowdSec & Cloudflare - The...](https://www.crowdsec.net/blog/how-to-beat-application-ddos)**

I like the idea very much of allowing for example 50 distinct ips every 30 seconds grouped ba country in that scenario.

```auto
capacity: 50
leakspeed: "30s"
blackhole: 5m

```

I was wondering, if that works only together with cloudflare service or is there a way to get it also running only with a local crowdsec-firewall bouncer?

Thanks!
