Docs / Rules and filters
Countries, networks, subnets
Lists of countries, networks and addresses: who gets in, who is checked, who is kept out.
Access can be limited by country, provider network (AS) or subnet. Separately there are address allow and deny lists and ready lists of known offenders.
Geo rules
Domain → Protection → Countries, networks, ranges. Each rule is what to check and what to do:
| What | Example |
|---|---|
| Country | CN, KZ — two-letter code |
| Network (AS) | AS15169 — all addresses of a provider or cloud |
| Subnet | 203.0.113.0/24, 2001:db8::/32 |
Actions: Allow, Challenge (default) or Block. Rules run top to bottom and the first match wins. Up to 500 rules, not counted against plan limits.
“Allow” means no check, nothing more
A geo Allow rule removes the browser check, but limits, the WAF and your rules still apply to these visitors.
Typical setups
- A site for one country: Challenge or Block for countries you have no visitors from. There is a ready rule template that blocks countries but keeps search bots.
- Bots come from data centres: Challenge for the networks of large hosting providers.
- An attack from one country: Block it for the duration.
Allow and deny lists
Domain → Settings → Request filter. Each entry is an address or subnet, with an optional expiry and note.
- Deny list — requests from these addresses do not reach the site. A subnet no wider than
/8for IPv4 and/16for IPv6. - Allow list — the address skips every check: the deny list, your rules, geo, limits, the browser check and the WAF. Put only your own addresses there: office, monitoring, your scripts.
The allow list does not close the site to others
Allow list entries only free those addresses from checks; everyone else is accepted as before. To open, say, the admin area only from the office, use the “Admin from the office only” rule template in Rules.
The number of list entries depends on the plan: 50 without a plan, 1,000 on a paid one.
Offender lists
Domain → Protection → Offenders from shared lists. Turn on “Use the lists” and pick an action for each source:
| List | What is in it | Default |
|---|---|---|
| Tor exits | Tor exit node addresses | Challenge |
| Data centres | Cloud and hosting addresses | Off |
| Spamhaus DROP | Networks hijacked by spammers and attackers | Block |
| AbuseIPDB | Addresses with frequent attack reports | Block |
| Open proxies | Public proxy servers | Off |
If an address is in several lists, the strictest action applies. The lists update on their own.
In what order
Allow and deny lists come first, then your rules, then offender lists and geo rules. The full request path is in Custom rules.