Skip to main content
Restrict access to the load balancer
Last update:

Restrict access to the load balancer

You can restrict access to the load balancer — specify the allowed IP addresses from which the load balancer will accept traffic.

Allowed IP addresses are specified in the balancer rule and apply only to the port and traffic type that are specified in the rule. You can specify allowed addresses when creating a rule or in an existing rule.

For authorized addresses to work, port security must be enabled on the balancer network.

Specify the allowed IP addresses in an existing rule

  1. In the dashboard, on the top menu, click Products and select Cloud Servers.

  2. Go to BalancersBalancers tab.

  3. Open the balancer page.

  4. Open the rule card.

  5. If the card has an Allowed CIDR field, in that field:

    5.1 Click .

    5.2 Enter the allowed IP addresses or subnets, separated by commas.

    5.3 Click .

  6. If the Allowed CIDRs field does not appear, port security is disabled on the network . Create a new private network or public subnet and create a load balancer on it.