Search squid archive

squid cache peer based on source ip address rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
##################
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 :


##################
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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux