Skip to main content

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

  1. On the Instances page, click the instance.
  2. On the Instances Management page, click the Listener tab.

fg-dc-slb-3.2.6-1

  1. On the Listener section, click the Configure Access Control button fg-dc-slb-3.2.6-2

  2. On the Configure Access Control section, configure the parameters.

ParameterDescription
Enable Access ControlEnable access control.
Access Control MethodWhitelist: 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 ListSelect 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 300 IP entries to each network ACL. IP entries must be unique within each network ACL.

fg-dc-slb-3.2.6-3

  1. On the Configure Access Control section, click the OK button.

  2. On the pop-up message, click the OK button. fg-dc-slb-3.2.6-4

  3. Once the Access Control is successfully configured, its status has been updated as shown. fg-dc-slb-3.2.6-5