[squid-users] multiple acls with one tcp_outgoing_address, possible?

From: Adam <[email protected]>
Date: Wed, 23 Apr 2003 18:54:32 -0700

Can multiple acl's be put on with "tcp_outgoing_address" directive and if so
what is wrong with my syntax as it doesn't seem to work for me. Having one
acl per line works, but we extract the non-comment lines and it would be
neater for us to have the acl's for one tcp_outgoing_address on one line.
Each acl is a line like this so they can't be made into one (can one make an
acl of multiple acls?):
acl VLAN1 src 192.168.20.0/255.255.255.0 (addresses made up)

# this is what I want to do but it DOESNT work (the catch-all is used)
tcp_outgoing_address 1921.168.3.10 adam1 VLAN1 VLAN2 VLAN3 VLAN4
tcp_outgoing_address 1921.168.3.20 adam2 VLAN5 VLAN6 VLAN7 VLAN8

# this works
tcp_outgoing_address 1921.168.3.10 adam1
tcp_outgoing_address 1921.168.3.10 VLAN1
tcp_outgoing_address 1921.168.3.10 VLAN2
etc.
tcp_outgoing_address 1921.168.3.20 adam2
tcp_outgoing_address 1921.168.3.20 VLAN5
tcp_outgoing_address 1921.168.3.20 VLAN6

# for either setup I use this catch-all/default assignment
tcp_outgoing_address 1921.168.3.10
Received on Wed Apr 23 2003 - 19:54:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:17 MST