Updated on 2025-10-20 GMT+08:00

Adding an IP Address Group

With IP address groups, you can quickly add IP addresses or IP address ranges to a blacklist or whitelist rule.

If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and add IP address/range groups in the project.

Prerequisites

You have purchased WAF.

Adding a Blacklist or Whitelist IP Address Group

  1. Log in to the WAF console.
  2. Click in the upper left corner and select a region or project.
  3. (Optional) If you have enabled the enterprise project function, in the upper part of the navigation pane on the left, select your enterprise project from the Filter by enterprise project drop-down list. Then, WAF will display the related security data in the enterprise project on the page.
  4. In the navigation pane on the left, choose Objects > Address Groups.
  5. On the upper left of the address group list, click Add Address Group.
  6. On the Add Address Group panel displayed, complete the following configurations.

    Table 1 Address group parameters

    Parameter

    Description

    Example Value

    Group Name

    Enter the name of the address group. An address group name can contain a maximum of 128 characters. Only letters, digits, underscores (_), hyphens (-), colons (:), and periods (.) are allowed.

    waf

    IP Address/Range

    Enter the IP addresses or IP address ranges you want to add.

    • Adding many IP addresses all at once
      1. In the IP Address/Range configuration area, enter the IP addresses or IP address ranges you want to add and click Add to List.

        You can use commas (,), semicolons (;), carriage returns (Enter), tab characters (Tab), or spaces to separate IP addresses or IP address ranges.

      2. In the IP address or IP address range list, check the IP address or IP address range information and enter the description.
    • Adding IP addresses one by one

      Above the IP address or IP address range list, click Add and enter an IP address and description.

    XXX.XXX.2.3

  7. Click Confirm.