LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-01-2006, 09:14 PM   #1
bazet
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
Squid : 1 proxy 3 cache


Hi,

I've just installed Squid on a machine an it runs perfectly.

Here's my network design

192.168.10.115
-> the main Proxy IP ( 50 - 100 computer will be told to use this ip )
-> Only Proxy but do not cache
-> Only cache on other server ( 192.168.10.116,192.168.10.117 etc )
-> If received request from client, it will check the cached object from other server, if there's no cache obj exist, it will cache on the server )


192.168.10.116
- receive connection from 192.168.10.115 only
- cache server only ( storage farm )


192.168.10.117
- receive connection from 192.168.10.115 only
- cache server only ( storage farm )

192.168.10.118
- receive connection from 192.168.10.115 only
- cache server only ( storage farm )

The goal is so that box on 192.168.10.115 only proxy but do not cache and fill up all available storage in other server.

Can anyone give a simple squid.conf for each server ?

Thank you.
 
Old 12-03-2006, 05:03 PM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
@192.168.10.115
cache_peer 192.168.10.116 parent 8080 3130 round-robing no-query no-delay
cache_peer 192.168.10.117 parent 8080 3130 round-robing no-query no-delay
cache_peer 192.168.10.118 parent 8080 3130 round-robing no-query no-delay
never_direct allow all

@192.168.10.116, .117, .118
Configure a normal squid proxy with regular configuration with also an acl to allow access only to 192.168.10.115

Things you should keep an eye of are
* you should not have never_direct allow all configuration at any of caching proxies.
* All the caching proxy should be able to resolve dns-queries & able to access internet on their own from their own boxes.

Thats it !

Got a query.. repost.
 
  


Reply

Tags
cache, squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
clearing cache on squid proxy shadowsurfer Linux - Newbie 9 04-16-2008 12:33 AM
Squid Reverse Proxy Cache Question Gentoo20 Linux - Networking 0 02-04-2005 02:19 PM
Squid Cache & Filter without Proxy PersianPatient Linux - Software 4 11-24-2004 01:23 PM
Squid proxy/cache on a dail-up internet connection manaskb Linux - Networking 1 01-14-2003 01:55 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration