Updated on 2023-11-30 GMT+08:00

How Do I Block Abnormal IP Addresses?

You can blacklist an abnormal IP address. WAF directly blocks all the requests from the blacklisted IP address.

To blacklist an IP address, perform the following steps:

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
  4. In the navigation pane on the left, choose Policies.
  5. Click the name of the target policy to go to the protection configuration page.
  6. Click the Blacklist and Whitelist configuration area and toggle it on or off if needed.

    • : enabled.
    • : disabled.

  7. In the upper left corner above the Blacklist and Whitelist list, click Add Rule.
  8. In the displayed dialog box, add a blacklist or whitelist rule.

    • If you select Log only for Protective Action for an IP address, WAF only identifies and logs requests from the IP address.
    • Other IP addresses are evaluated based on other configured WAF protection rules.

  9. Click Confirm. You can then view the added rule in the list of blacklist and whitelist rules.

    • To disable a rule, click Disable in the Operation column of the rule. The default Rule Status is Enabled.
    • To modify a rule, click Modify in the row containing the rule.
    • To delete a rule, click Delete in the row containing the rule.

IP Address Blacklist and Whitelist FAQs

more