Client locations

Client locations let the gateway find out where requests come from: the country, region, city and network of each client address, and whether it is a known proxy, VPN or anonymizer.
Enabling it
Go to Client locations. The feature is off by default because it sends IP addresses to ip2location.io, a third party. Check that your privacy statement covers this before switching it on.
Addresses on your own network (192.168.x.x, 10.x.x.x and similar) are never sent — they show as "Local network".
API key
Without an API key, ip2location.io allows 1,000 lookups per day. With a free API key, you get 50,000 per month (about 1,600 per day).
Enter your API key on the page — it is stored encrypted and never shown again.
Status
The page shows:
- Lookups used today
- Addresses known and waiting
- Last problem (if any)
What client locations unlock
Once enabled, you can use location data in:
- Rules: conditions on country, region, network (ASN) or proxy status
- Request log: the country next to each client address; full location details in an entry
- Performance: the "Where the traffic comes from" section
Presets that need client locations
- Allow only some countries (Templates and presets)
- Block anonymous proxies
- Challenge visitors from other countries
First requests of a new address
The first few requests from a new address arrive before the lookup is complete. A rule on the country does not match yet, so nothing is blocked by mistake. If you want a strict rule that also refuses those first requests, tick Location: also match while it is not known yet (or Also refuse unknown locations in the preset).

Example: allow only Belgian visitors on /admin
- Enable client locations and wait for a few lookups to complete.
- Add a rule: action Block, condition Country is not BE, path
/admin, priority 2. - Add a rule: action Allow, condition Country is BE, path
/admin, priority 1.
Visitors from outside Belgium get 403 on /admin. Everything else is unaffected.