Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

haproxy multiple acl using the same name

Tags:

haproxy

I am in the middle of writing a new config for HAProxy - What I want to do is this.

acl ccbill src 64.38.212.0/24
acl ccbill src 64.38.215.0/24
acl ccbill src 64.38.215.0/24
acl ccbill src 64.38.215.0/24
use_backend admin-chat if ccbill

I am just curious if you can set an acl like this using the same name for multiple IP's

Thanks

like image 215
ArcticMediaRyan Avatar asked Jan 10 '15 18:01

ArcticMediaRyan


1 Answers

Yes you can. HAProxy will process a logical OR between each ACL.

like image 120
Baptiste Avatar answered Sep 30 '22 02:09

Baptiste