doc-exports/docs/wafd/umn/waf_01_0215.html
Li, Qiao aea4b89c6e WAF Dedicated User Guide 20231030 version.
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
2024-10-01 07:48:08 +00:00

2.4 KiB

How Do I Allow Requests from Only IP Addresses in a Specified Geographical Region?

If you allow only IP addresses in a region to access the protected domain name, for example, only IP addresses from Australia can access the protected domain name, take the following steps:

Geolocation access control rules have higher priority than built-in WAF rules. If you configure a geolocation access control rule to allow IP addresses from a certain location, WAF then forwards traffic from those IP addresses without performing basic web protection checks.

  1. Add a geolocation access control rule: Select Australia for Geolocation and select Allow for Protective Action.

    Figure 1 Selecting Allow for Protective Action

  2. Configure a precise protection rule to block all requests.

    Figure 2 Blocking all access requests