To block requests by geolocation you need to:
Create a rule (the creation of rules is described in the section 21 section), where the source has the transaction specification class “Check user country” (see Figure 267). In the specification editing section, you must also indicate the country whose transactions will be blocked by the corresponding rule. It is also possible to use the negation of the condition. In this example, the goal is to block all requests not from Kazakhstan, so you should use a negation of the condition.

Figure 267 – Source with specification class checking user country
For the rule, you need to select the goal - checking the web application, as well as the protected application itself (see Figure 268).

Figure 268 – Goal with the specification class web application verification
When editing an action for a rule, you must select the transaction blocking action (see Figure 269).

Figure 269 – Editing an action for a rule
The configured rule for blocking requests not from Kazakhstan is shown in Figure 270.

Figure 270 – Rule for blocking requests not from Kazakhstan