WhoKnew Shield™ | Whitelist Wildcards and CIDR (Pro)

Skip to main content
Table of Contents
Print

The Scraper Trap™ IP Whitelist doesn’t only accept single IP addresses. You can add CIDR ranges (e.g. an entire office subnet) and wildcard patterns (e.g. 192.168.*) so multiple IPs are whitelisted with one entry. This article explains the supported formats, syntax, and when to use each so you can whitelist ranges without opening a ticket.

Where to Add Them

In WordPress admin, go to WhoKnew Shield → Scraper Trap™ and scroll to the IP Whitelist section. Use the Add IP Address or Range field: enter a single IP, a CIDR range, or a wildcard pattern, then click Add IP. The plugin accepts all three formats in the same field. Entries appear in the Whitelisted IPs list with a type badge (e.g. CIDR or WILDCARD) so you can see what’s a range vs a single IP. Save is not required—whitelist changes take effect immediately.

Supported Formats

The whitelist supports three kinds of entries. Each visitor IP is checked against the list; if it matches any entry (exact, CIDR, or wildcard), that visitor is never blocked by Scraper Trap.

FormatExampleWhen to use
Single IP192.168.1.1 or 2001:db8::1One specific IPv4 or IPv6 address (e.g. your home or a fixed office IP).
CIDR range192.168.1.0/24A subnet in standard CIDR notation. /24 = 256 addresses; /16 = 65,536. Use for offices or VPN ranges.
Wildcard192.168.* or 10.*.*.*Asterisk (*) matches any octet. 192.168.* = all IPs starting with 192.168. Good for partial ranges without CIDR math.

CIDR Syntax

CIDR notation is network address / prefix length. The prefix length is the number of bits that are fixed; the rest vary. Common examples:

  • 192.168.1.0/24 — All IPs from 192.168.1.0 to 192.168.1.255 (256 addresses). Typical small office or home subnet.
  • 10.0.0.0/8 — All IPs from 10.0.0.0 to 10.255.255.255 (about 16 million addresses). Large private network.
  • 203.0.113.0/26 — 64 addresses (203.0.113.0–203.0.113.63). Small block.

Use CIDR when you know your subnet (e.g. from your ISP or network admin). The plugin uses standard CIDR matching: a visitor’s IP is whitelisted if it falls inside the range you enter.

Wildcard Syntax

Wildcards use * to mean “any value” in one or more octets of an IPv4 address. Each * matches any number (0–255) in that position. Examples:

  • 192.168.* — Matches 192.168.0.0 through 192.168.255.255 (same as 192.168.0.0/16).
  • 10.*.*.* — Matches 10.0.0.0 through 10.255.255.255 (same idea as 10.0.0.0/8).
  • 203.0.113.* — Matches 203.0.113.0 through 203.0.113.255 (256 addresses).

Wildcards are IPv4 only. Use them when you want to whitelist “everything that starts with X.Y.” without using CIDR. Avoid overly broad patterns (e.g. *.*.*.*) so you don’t whitelist the whole internet.

Examples in One Place

Single IP (IPv4)

8d86bf54@342a448b.com

Single IP (IPv6)

2001:db8::1

CIDR (office subnet)

677a618a@c077d2a1.com/24

Wildcard (all 192.168.x.x)

192.168.*

Tip: Prefer CIDR when you know the exact subnet (e.g. 192.168.1.0/24). Use wildcards when you only know the first octets (e.g. 192.168.*). Both count as one whitelist entry but protect many IPs—handy for offices, VPNs, or dynamic IPs that stay in the same range.

Need Help?

Getting Started with Scraper Trap — why to whitelist your IP before enabling. IP Whitelist — overview of the whitelist and “Add My IP.” Troubleshooting: Scraper Trap Not Blocking — if you’re testing and weren’t blocked, check that your IP (or its range) is whitelisted.

Share