This topic describes how to add one or more IP entries to an access control list. An IP entry can be an IP address or a CIDR block.

Background information

The IP entries added to an access control list can be applied in the following two ways.
  • Whitelist: Only requests from the IP addresses or CIDR blocks in the selected access control list are forwarded. It applies to scenarios where the application only allows access from specific IP addresses.
  • Blacklist: Requests from the IP addresses or CIDR blocks in the selected access control list are not forwarded. It applies to scenarios where the application only denies access from some specific IP addresses.

Procedure

  1. Log on to the Server Load Balancer console.
  2. Select the target region.
  3. In the left-side navigation pane, click Access Control.
  4. Find the target access control list and click Manage in the Actions column.
  5. Add IP entries.
    • Click Add Multiple Entries. In the displayed dialog box, add multiple IP addresses or CIDR blocks and click OK.

      Note the following before you add IP entries:
      • Each line should include only one IP entry. Use the Enter key to break lines.
      • Separate the IP entry and the description by using a vertical bar (|), for example, 10.10.10.1|171.16.10.1.
    • Click Add Entry. In the displayed dialog box, add an IP address or a CIDR block and the description, and click OK.