View Single Post
  #3 (permalink)  
Old 14-06-2006, 11:34 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Hi there,

My original article topic was only single proxy server. Nevertheless, setting up peering is not a big issue.

Assuming that:
a) Your Linux Squid proxy1 hostname is proxy1.av.it.pt
b) Your Linux Squid proxy2 hostname is proxy2.av.it.pt

Open squid.conf on proxy1.av.it.pt and type (append) following:
Code:
icp_access allow all
cache_peer proxy2.av.it.pt sibling 3128 3130
Save the file and Open squid.conf on proxy2.av.it.pt and type (append) following:
Code:
icp_access allow all
cache_peer proxy2.av.it.pt  sibling 3128 3130
Adjust port 3128 (if you changed) for your setup.

Restart both proxy and the servers should start to checking each other's caches before connecting to Internet/ISP network. Please note that if you want to access ISP squid proxy, then you need to ask them for ports and settings (may be username and password too).
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote