Load balancing
Configure IP Access Control Lists in HAProxy ALOHA
This page applies to:
- HAProxy ALOHA - all versions
You can use access control lists (ACLs) to permit or deny access to load-balanced applications based on interface, protocol, IP address, and port.
Add an IP ACL:
- 
Click the IP ACLs tab. 
- 
Click the Insert new ACL icon. 
- 
Fill in the fields: Field Description IN Interface receiving the packet. One of: string indicating interface (example: eth0) orany.Protocol Network protocol. One of: ICMP,TCP,UDP, orany.Source Packet source address or network. One of: IP address (example: 144.59.32.12), IP address/mask (example:144.59.32.0/24), orany.Port Packet source port or range. Ignored if the protocol is ICMPorany. One of: port (example:30100), port range (example:30100-30299), orany.Destination Packet destination address or network. One of: IP address (example: 192.168.10.02), IP address/mask (example:192.168.10.0/16), orany.Port Packet destination port or range. Ignored if the protocol is ICMPorany. One of: port (example:30100), port range (example:30100-30299), orany.Action Filter action to apply. One of: allowordeny.
- 
When complete, click the Add icon to save or click the Cancel icon to discard. 
- 
To make your changes persistent after a reboot, click the Setup tab. Then click Save under Configuration. The IP ACLs are stored in the file /etc/ipacls/ipacls.cfg. To edit the file directly, click advanced mode.
- 
To make the changes persist after a reboot, go to the Setup tab and click Save within the Configuration section. 
Example Jump to heading
The following ACLs deny all packets targeted for IP address 10.10.100.11 except for packets complying with the permit ACLs.
nix
nix
/etc/ipacls/ipacls.cfgtext
/etc/ipacls/ipacls.cfgtext
Use the iptables command to display the rules and related details.
nix
nix
outputtext
outputtext
Do you have any suggestions on how we can improve the content of this page?