If your customers are in two countries, there's little reason to let the other two hundred hit your login page. NOC lets you block or challenge chosen countries, or flip it around and allow only the countries you serve, on the whole site or just the pages that matter.
Much of the brute force, card testing and form spam a small business sees comes from countries where it has no customers. Blocking them removes that traffic before it costs you server time, fills your logs or trips your fraud tools.
Geo-blocking is a blunt tool, so NOC gives you a softer edge too: instead of a hard block, visitors from those countries can get a CAPTCHA. Your customer on vacation clicks once and gets in. A botnet does not.
Allow only your own country on the whole site, with a CAPTCHA for everyone else.
Allow only the countries your team works from on /wp-admin and the login page.
Block card-testing traffic from countries you don't ship to, only on the checkout.
Country rules are custom rules of type country_block.
curl "https://my.noc.org/api?apikey=YOUR_API_KEY&action=cdn/customrules/add&website=example.com&rule_type=country_block&url=/&value=RU%20KP%20IR"
curl "https://my.noc.org/api?apikey=YOUR_API_KEY&action=cdn/customrules/add&website=example.com&rule_type=country_block&url=/&value=BR&allow_only=true&block_response=captcha"
Learn the basics: What is geo-blocking? · Blocking IPs with .htaccess
Get access to our full suite of services, including DNS, WAF/CDN and Monitoring, or use only what you need. Our WAF/CDN operates on a distributed anycast network with over 20 data centers, delivering exceptional global performance.
Free 14-Day Trial