Enable access control
Overview
This topic describes how to enable access control for a listener. You can enable access control for each listener of a Server Load Balancer( SLB) instance. You can set whitelists for different listeners.
Procedure
- On the SLB management console interface, select the target SLB instance, click the instance to enter the instance details, click the Listener tab, and find the target Listener.
- Click Configure Access Control in the Actions column.
- Set the following parameters and click OK.
Parameter | Description |
---|---|
Enable Access Control | Enable access control. |
Access Control Method | Whitelist: After you set a whitelist for a listener, the listener forwards only requests from IP addresses or CIDR blocks that are added to the whitelist. Your business may be adversely affected if the whitelist is not set properly. After the whitelist is set, only requests from IP addresses that are added to the whitelist are forwarded by the listener. If the whitelist does not contain IP addresses, the SLB listener forwards all requests. |
Access Control List | Select a network access control list (ACL). IPv6 instances can be associated only with IPv6 network ACLs, and IPv4 instances can be associated only with IPv4 network ACLs. Note Separate multiple IP entries with commas (,). You can add at most 300IP entries to each network ACL. IP entries must be unique within each network ACL. |
4. Access Control opened successfully.