LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid on 2 routers (https://www.linuxquestions.org/questions/linux-networking-3/squid-on-2-routers-466867/)

htb 07-23-2006 02:55 PM

squid on 2 routers
 
hy, how can i make squid on router1 to use squid on router2 as default proxy/cache, and to use it`s on cache if the router2 goes offline/down ?

Notwerk 07-24-2006 02:10 AM

Squid uses "icp_port" to send Internet Cache Protocol requests to neighbouring squid servers. The defualt value is 3130.

Check /etc/squid/squid.conf to include on both routers:
Code:

icp_port 3130
In addition, if your ISP provides a cache, you can use it as an "upstream" cache which might reutrn quicker results using:
Code:

cache_peer [proxy_ip_if_static_or_name_if_using_DNS]
parent 3128 3130 no-query

Please note that the "no-query" option prevents ICP from running here.


All times are GMT -5. The time now is 05:23 PM.