Search squid archive

How to tell squid to redirect to cache_peer if IP's url belong to a defined adress range

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

 



Hi,

How can I configure squid (direct proxy) to redirect to another parent
proxy only if requested url hostname DNS resolves to  a particular
network (for example 125.0.0.0/32).

With

cache_peer PARENT-PROXY-IP parent 3128 0 proxy-only no-query

all requested client url are redirected to PARENT-PROXY:3128

Example
If requested url is http://www.fujitsu.com and
www.fujitsu.com solve to 125.x.y.z  how to tell squid to use cache_peer
and never use it when requested url does not belong to 125.0.0.0/32 IP range.

 






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

  Powered by Linux