IP/Geo Block

Last update:2024-10-25 14:27:39

The IP/Geo Block is used to intercept requests from specific client IP or geographic locations. It is typically used in the following scenarios:

  • If you are certain that you will not operate in a specific country/region, you can block all traffic from that country/region.
  • Intercept requests from specific IPs or IP ranges, such as certain IPs or IP ranges that frequently initiate illegal requests to the website.

To configure IP/Geo Block:

  1. Log in to the CDNetworks Console, find the security product in use under Subscribed Products.
  2. Go to Security part, Configurations > Policies.
  3. Find the hostname for which you want to configure security policies, click Self-Service Configuration for China Premium Service Onboarding.
  4. Go to IP/Geo Block tab. If this policy is off, turn it on.

Block requests from specific IP/CIDR

  • Enter the IP/CIDR under the IP Block tab, separate multiple IPs/CIDR with a semicolon. Up to 500 IPs/IP ranges can be configured, supporting both IPv4 and IPv6. For example, 192.168.1.0/24;2001:3CA1:10F:1A:121B:0:0:12
  • Click Publish Changes to make the configuration take effect.

Block requests from specific countries/areas

  • Select the countries/areas you want to block under the Geo Block tab.
  • Click Publish Changes to make the configuration take effect.
Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!