Dear squid users folks ,

i have many different cache peers I’m gonna send traffic to.

but the issue is i want to have different cache peer setup based on the source 
ip address  .


say the ip address of the user was 1.1.1.1

i want it go to the cache peer  with system below 
##################
acl custNet dstdomain .mail.com  .mail.ru .trustly.com  .ing.nl .live.adyen.com 
 www.mail.com .uicdn.com . .9gag.com .tumblr.com .boredpanda.com 
.deref-mail.com .tutanota.com
cache_peer 12.13.250.251 parent 5555 0 no-query no-digest
never_direct allow custNet
cache_peer_access 12.13.250.251 allow custNet
cache_peer_access 12.13.250.251 deny all
http_access allow custNet
#############################################################



say the source ip address was 2.2.2.2  i want it has the custom config of cache 
peer below :


##################
acl custNet dstdomain .mail.com  .mail.ru .trustly.com  .ing.nl .live.adyen.com 
 www.mail.com .uicdn.com . .9gag.com .tumblr.com .boredpanda.com 
.deref-mail.com .tutanota.com
cache_peer 12.13.250.252 parent 5555 0 no-query no-digest
never_direct allow custNet
cache_peer_access 12.13.250.252 allow custNet
cache_peer_access 12.13.250.252 deny all
http_access allow custNet
#############################################################


so I’m wondering @ the moment how can i modify squid config so that it forward 
to specific peer  based on the source ip address of the user who using the 
proxy 



kind regards 


_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to