Whitelist is a method for access control. It applies to scenarios where an application only allows access from some specific IP addresses.
|SLB has released a new version of the access control function, which supports configuring whitelists and black lists. You can migrate the previously configured whitelist to the new version. For more information, see Migrate to the new access control.|
- Enabling whitelist poses some business risks. If a whitelist is configured, only the IP addresses in the list can access the listeners of the SLB instance.
- If you enable the whitelist function without adding any IP entry in the corresponding access control list, no requests are forwarded.
- When configuring a whitelist, the access to SLB listeners may be interrupted shortly.
- Log on to the SLB console.
- Select the region where the SLB instance is located.
- Click the ID of the SLB instance.
- In the left-side navigation pane, click Listeners.
- Find the target listener, and then click .
- In the displayed dialog box, complete these steps:
- Click the Enable Access Control switch.
- Enter the IP addresses to allow to access the listener.
Separate multiple IP addresses using comma. Up to 300 IP addresses are allowed. You can also enter CIDR blocks.
- Click Confirm.