<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Dear squid users folks ,</div><div class=""><br class=""></div><div class="">i have many different cache peers I’m gonna send traffic to.</div><div class=""><br class=""></div><div class="">but the issue is i want to have different cache peer setup based on the source ip address  .</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">say the ip address of the user was 1.1.1.1</div><div class=""><br class=""></div><div class="">i want it go to the cache peer  with system below </div><div class=""><span style="color: rgb(4, 51, 255);" class="">##################</span></div><div class=""><font color="#0433ff" class="">acl custNet dstdomain .<a href="http://mail.com" class="">mail.com</a>  .<a href="http://mail.ru" class="">mail.ru</a> .<a href="http://trustly.com" class="">trustly.com</a>  .<a href="http://ing.nl" class="">ing.nl</a> .<a href="http://live.adyen.com" class="">live.adyen.com</a>  <a href="http://www.mail.com" class="">www.mail.com</a> .<a href="http://uicdn.com" class="">uicdn.com</a> . .<a href="http://9gag.com" class="">9gag.com</a> .<a href="http://tumblr.com" class="">tumblr.com</a> .<a href="http://boredpanda.com" class="">boredpanda.com</a> .<a href="http://deref-mail.com" class="">deref-mail.com</a> .<a href="http://tutanota.com" class="">tutanota.com</a></font></div><div class=""><font color="#0433ff" class="">cache_peer 12.13.250.251 parent 5555 0 no-query no-digest</font></div><div class=""><font color="#0433ff" class="">never_direct allow custNet</font></div><div class=""><font color="#0433ff" class="">cache_peer_access 12.13.250.251 allow custNet</font></div><div class=""><font color="#0433ff" class="">cache_peer_access 12.13.250.251 deny all</font></div><div class=""><font color="#0433ff" class="">http_access allow custNet</font></div><div class=""><font color="#0433ff" class="">#############################################################</font></div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><br class=""></div><div class="">say the source ip address was 2.2.2.2  i want it has the custom config of cache peer below :</div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><div class=""><span style="color: rgb(4, 51, 255);" class="">##################</span></div><div class=""><font color="#0433ff" class="">acl custNet dstdomain .<a href="http://mail.com" class="">mail.com</a>  .<a href="http://mail.ru" class="">mail.ru</a> .<a href="http://trustly.com" class="">trustly.com</a>  .<a href="http://ing.nl" class="">ing.nl</a> .<a href="http://live.adyen.com" class="">live.adyen.com</a>  <a href="http://www.mail.com" class="">www.mail.com</a> .<a href="http://uicdn.com" class="">uicdn.com</a> . .<a href="http://9gag.com" class="">9gag.com</a> .<a href="http://tumblr.com" class="">tumblr.com</a> .<a href="http://boredpanda.com" class="">boredpanda.com</a> .<a href="http://deref-mail.com" class="">deref-mail.com</a> .<a href="http://tutanota.com" class="">tutanota.com</a></font></div><div class=""><font color="#0433ff" class="">cache_peer </font><font color="#ff2600" class="">12.13.250.252</font><font color="#0433ff" class=""> parent 5555 0 no-query no-digest</font></div><div class=""><font color="#0433ff" class="">never_direct allow custNet</font></div><div class=""><font color="#0433ff" class="">cache_peer_access </font><span style="color: rgb(255, 38, 0);" class="">12.13.250.252</span><span style="color: rgb(4, 51, 255);" class=""> allow custNet</span></div><div class=""><font color="#0433ff" class="">cache_peer_access </font><span style="color: rgb(255, 38, 0);" class="">12.13.250.252</span><span style="color: rgb(4, 51, 255);" class=""> deny all</span></div><div class=""><font color="#0433ff" class="">http_access allow custNet</font></div><div class=""><font color="#0433ff" class="">#############################################################</font></div></div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><br class=""></div><div class="">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 </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">kind regards </div><div class=""><font color="#0433ff" class=""><br class=""></font></div><div class=""><font color="#0433ff" class=""><br class=""></font></div></body></html>