Block IP Addresses and Ranges
Shieldy supports blocking by single IP, IP range (CIDR or prefix), ISP, and ASN. This article covers each pattern.
Block a single IPv4 or IPv6 address
- Open Block rules → New rule.
- Rule type: Block.
- Criteria: IP address → Equals.
- Enter the IP (e.g.
192.0.2.45for IPv4 or2001:db8::1for IPv6). - Save.
Block an IP range with CIDR notation
CIDR is the standard way to express a contiguous block of IPs:
| CIDR | Range size | Example |
|---|---|---|
| /32 | 1 IP | 192.0.2.45/32 |
| /24 | 256 IPs | 192.0.2.0/24 |
| /16 | 65,536 IPs | 192.0.0.0/16 |
| /8 | 16.7M IPs | 192.0.0.0/8 |
Steps:
- New rule → IP address → Equals.
- Enter the CIDR (e.g.
192.0.2.0/24). - Save.
Block by IP prefix (no CIDR knowledge needed)
If CIDR is unfamiliar, use the Starts with operator:
192.0.2.blocks the entire 192.0.2.0/24 range.192.0.blocks the entire 192.0.0.0/16 range.
This is easier to maintain and produces the same effect.
Block by ISP or ASN
Sometimes a single ISP or hosting provider generates most of the bad traffic. Block by ISP name:
- New rule → ISP → Equals.
- Enter the ISP name (e.g. "Hetzner Online GmbH", "DigitalOcean LLC").
- Save.
ISP blocking is included in the Enterprise plan.
Block datacenter and hosting IPs
Most bots run on cloud infrastructure. Enable bulk datacenter blocking:
- Open Bot Killer.
- Toggle Block datacenter IPs to ON.
- Save.
This blocks AWS, GCP, Azure, OVH, Hetzner, Digital Ocean, and ~80 other major hosting providers in one click.
Whitelist your own IPs
Before applying broad blocks, add your team's IPs to the whitelist:
- New rule → Rule type Whitelist → IP address.
- Enter your office IP.
- Save.
Whitelisted IPs bypass all block rules.
Find an IP to block
For fraudulent orders:
- Open the order in Shopify admin.
- Scroll to Conversion summary.
- Look for IP address.
For visitor traffic: open Shieldy's Visitor Analytics dashboard, sort by risk score descending.