# Campaign filter based on IP

**URL:** <https://forum.mautic.org/t/campaign-filter-based-on-ip/18178>\
**Category:** General Discussion\
**Tags:** mautic-3\
**Created:** [February 15, 2021, 10:25pm UTC](https://forum.mautic.org/t/campaign-filter-based-on-ip/18178 "2021-02-15T22:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nelson/32/2637_2.png) [@nelson](https://forum.mautic.org/u/nelson)\
**Post date:** [February 15, 2021, 10:25pm UTC](https://forum.mautic.org/t/campaign-filter-based-on-ip/18178/1 "2021-02-15T22:25:20Z")

</div>

I’ve been getting fake newsletter signups from a bot that seems to use Tor, for example: [185.220.101.136 | Zwiebelfreunde E.V. | AbuseIPDB](https://www.abuseipdb.com/check/185.220.101.136) and sometimes these result in complaints to SES when the email owner receives the double opt-in email from my campaign setup. I realize that some legitimate users might use Tor so I don’t want to block these IPs entirely at the firewall level. Tor does publish a list of its exit router IPs (last link on this page [http://109.70.100.33](http://109.70.100.33)) and so I’m wondering if there is a way in Mautic to put a filter on my campaign like a condition I can use to stop it sending a double opt-in email if the signup came from one of these IPs? That way I won’t block legitimate browsing but newsletter signup will silently fail. I’m also aware that the double opt-in is doing what it’s supposed to do, but the victim, the owner of the email address entered into my site doesn’t necessarily know that so I’d like to limit the effect of this spam.
