Limit access to the load balancer
You can limit access to the load balancer by specifying allowed IP addresses from which the load balancer will accept traffic.
Allowed IP addresses are specified in the load balancer rule and apply only to the port and traffic type specified in the rule. You can specify allowed addresses when creating a rule or in an existing rule.
For allowed addresses to work, traffic filtering (port security) must be enabled in the load balancer network.
Specify allowed IP addresses in an existing rule
Control panel
OpenStack CLI
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
Go to the Load balancers section → Load balancers tab.
-
Open the load balancer page.
-
Open the rule card.
-
If the card contains the Allowed CIDR field, in this field:
5.1. Click .
5.2. Enter the allowed IP addresses or subnets separated by commas.
5.3. Click .
-
If the Allowed CIDR field is not displayed, traffic filtering (port security) is disabled in the network. Create a new private network or public subnet and create a load balancer in it again.