View previous topic :: View next topic |
Author |
Message |
winston_nolan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Aug 2004 Posts: 71 Location: cape town, south africa
|
Posted: Wed Jan 11, 2006 2:14 pm Post subject: [solved] chaining squid(s) together - cache_peer? |
|
|
good day to you
i have the following scenario:
i have squid running on my internal gateway - my gateway is connected via wireless to another server connected to the internet also running squid (this box is on a fast line)
what i want to do:
i want to use my proxy on my gateway regardless - but i want this squid to pass some requests on to the squid on the fater line - so that this machine can do the fetching, and then push the files over the wireless to my local squid thereby increasing the speed of my lan so to speak -
can this be done?
what i have so far:
on my internal squid on my gateway
Code: |
#squid caches!!
cache_peer 192.168.1.1 parent 3128 3130 login=some_user:some_pass no-delay proxy-only
#cache peer access!!!
cache_peer_access 192.168.1.1 allow lightspeed
cache_peer_access 192.168.1.1 deny all
|
and on both boxes i have
lightspeed is my acl for my delay pool - so i only want to use this for lightspeed - whenever im surfing just to test
guys - this is new terretory for me - so i appreciate your advice. can this be done, like to get a squid on a fast line to fetch requests and pass it on to another squid on a slower line?
thank you and thanks for squid - what a great piece of software!
winston _________________ Winston Nolan
www.3ampsy.com - PSYTRANCE! Listen to full tracks for Free, and buy various Psytrance related gear.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Have a great day!
Last edited by winston_nolan on Thu Jan 12, 2006 7:24 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
winston_nolan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Aug 2004 Posts: 71 Location: cape town, south africa
|
Posted: Thu Jan 12, 2006 7:04 am Post subject: [SOLVED] chaining squid(s) together - cache_peer? |
|
|
i have the following settings and they work perfectly -
Code: | #squid caches!!
cache_peer 192.168.1.1 parent 3128 3130 login=username:password no-delay no-query proxy-only
#cache peer access!!!
cache_peer_access 192.168.1.1 allow lightspeed
cache_peer_access 192.168.1.1 deny all
prefer_direct off |
later _________________ Winston Nolan
www.3ampsy.com - PSYTRANCE! Listen to full tracks for Free, and buy various Psytrance related gear.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Have a great day! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|