# Blocklists for crowdsec

**URL:** https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96
**Category:** Uncategorized
**Created:** [December 27, 2020, 4:16pm UTC](https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96 "2020-12-27T16:16:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gourou76](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@gourou76](https://discourse.crowdsec.net/u/gourou76)
#### Post date: [December 27, 2020, 4:16pm UTC](https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96/1 "2020-12-27T16:16:30Z")

</div>

Greetings,

Have any of you compiled active blocklists to “import” on a new installation please?

Best wishes,  
J

---

<div class="post-metadata">

### Author: ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)
#### Post date: [January 6, 2021, 10:54am UTC](https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96/2 "2021-01-06T10:54:20Z")

</div>

Hello !

Please correct me if I misunderstood you: you want to be able to import your own “block lists” into a new or existing crowdsec instance(s)?

While there is no existing stuff to do this, I think it’s rather trivial using the local api exposed by crowdsec.

You can have a script (or whatever - depending on your datasource) that will use the [create alerts API method](https://crowdsecurity.github.io/api_doc/index.html?urls.primaryName=LAPI#/watchers/pushAlerts) to push alerts with associated decisions to your crowdsec API. Once done, those will be consumed by bouncers etc.

Please let me know !

---

<div class="post-metadata">

### Author: ![gourou76](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@gourou76](https://discourse.crowdsec.net/u/gourou76)
#### Post date: [January 6, 2021, 3:25pm UTC](https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96/3 "2021-01-06T15:25:57Z")

</div>

January 6

Hello !  
Hi Thibault,

> > Please correct me if I misunderstood you: you want to be able to import your own “block lists” into a new or existing crowdsec instance(s)?  
> > As a matter of fact, I was enquiring if “block lists” existed and could be imported to have a fully functional crowdsec “box”.

> > While there is no existing stuff to do this, I think it’s rather trivial using the local api exposed by crowdsec.  
> > You just answered this question. I am just an integrator now. I have stopped programming about 30 years ago, that’s why I was after a KISS solution rather than get into the nitty gritty of API et al.

I will keep watching this topic however.

Thanks for stepping in Thibault!  
Cheers,  
Jimmy

---

<div class="post-metadata">

### Author: ![grant-veepshosting](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/grant-veepshosting/32/24_2.png) [@grant-veepshosting](https://discourse.crowdsec.net/u/grant-veepshosting)
#### Post date: [January 7, 2021, 5:05am UTC](https://discourse.crowdsec.net/t/blocklists-for-crowdsec/96/4 "2021-01-07T05:05:21Z")

</div>

Could you do this with a bouncer, and a blacklist entry?
