# How can I block an IP address? are there wildcards?

**URL:** <https://meta.discourse.org/t/how-can-i-block-an-ip-address-are-there-wildcards/25299>\
**Category:** Product Support\
**Created:** [February 16, 2015, 9:21pm UTC](https://meta.discourse.org/t/how-can-i-block-an-ip-address-are-there-wildcards/25299 "2015-02-16T21:21:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [February 16, 2015, 9:32pm UTC](https://meta.discourse.org/t/how-can-i-block-an-ip-address-are-there-wildcards/25299/4 "2015-02-16T21:32:39Z")

</div>

> [@rodrigofarcas](#):
>
> Thanks! so 10.20.30.\* will work?

Yes, that is the same as  
10.20.30.0/24

But for  
10.20.\*.\*  
you need to do  
10.20.0.0/16

Look for CIDR masking if you dare

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-block-an-ip-address-are-there-wildcards/25299)._
