# CrowdSec vs. Fail2Ban for Zimbra

**URL:** <https://discourse.crowdsec.net/t/crowdsec-vs-fail2ban-for-zimbra/1499>\
**Category:** crowdsec\
**Created:** [November 7, 2023, 5:16pm UTC](https://discourse.crowdsec.net/t/crowdsec-vs-fail2ban-for-zimbra/1499 "2023-11-07T17:16:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johncliffton](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/johncliffton/32/717_2.png) [@johncliffton](https://discourse.crowdsec.net/u/johncliffton)\
**Post date:** [November 7, 2023, 5:16pm UTC](https://discourse.crowdsec.net/t/crowdsec-vs-fail2ban-for-zimbra/1499/1 "2023-11-07T17:16:54Z")

</div>

Hi,  
I am new to CrowdSec and would like to use it to secure my Zimbra mailserver, that is currently protected by Fail2Ban with specific [jails](https://blog.zimbra.com/2022/08/configuring-fail2ban-on-zimbra/).  
I wonder:  
Can you use both CrowdSec and Fail2Ban on the same host together?  
Does CrowdSec have rules for Zimbra in place? At least I did not find anything on the internet on this.

Thanks for your help in advance!

---

<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:** [November 14, 2023, 9:57am UTC](https://discourse.crowdsec.net/t/crowdsec-vs-fail2ban-for-zimbra/1499/2 "2023-11-14T09:57:24Z")

</div>

Hello,

There is a collection for zimbra : [CrowdSec Console](https://app.crowdsec.net/hub/author/firewallservices/collections/zimbra)

You can technically use both, but it’s not recommended as it’s going to lead to some weird behaviour where both software will try to ban the same IPs etc.

---

<div class="post-metadata">

**Author:** ![johncliffton](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/johncliffton/32/717_2.png) [@johncliffton](https://discourse.crowdsec.net/u/johncliffton)\
**Post date:** [November 14, 2023, 5:28pm UTC](https://discourse.crowdsec.net/t/crowdsec-vs-fail2ban-for-zimbra/1499/3 "2023-11-14T17:28:27Z")

</div>

@thibault -Thank you for your help. Did not know to find it there…  
I am curious: What could happen technically when runnung f2b and crowdsec at the same time? will both set iptables or create some sort of race condition?
