LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-15-2005, 07:48 PM   #1
bellerophon
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
Need help to connect a squid proxy to connect to another squid proxy server


Goodday sir/mam

I'm have a Red Hat Linux 9 server with Squid use as a proxy and I'm trying to connect another squid proxy server to it. Are there any software needed to be installed aside from squid? Are there any special configuration needed? Please really need a HELP here...
 
Old 02-07-2006, 06:52 AM   #2
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
Just add the following line tou your squid config.
Code:
cache_peer <your_parent_cache_ip> parent 3128 3130 no-query default no-digest
See
OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM section in Squid.conf for explanation of this.

After sthis your proxy will fetch static documents without any errors, but if you want to fetch something containing ? or cgi-bin, it will try to bypass the parent cache. To prevent it from doing this add the following line:
Code:
never_direct allow all
 
  


Reply


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Proxy won't let me connect, iptables, squid and dansguardian hindenbergbaby Linux - Networking 4 12-02-2009 03:45 AM
SSH Through A Squid Proxy, NO CONNECT. EECore Linux - Networking 2 08-14-2008 10:41 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
how to disconnect a client connect by proxy squid? echox Linux - Software 0 04-06-2003 08:35 PM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
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