LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 01-15-2007, 08:54 AM   #1
intens
Member
 
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Squid problem: Howto always forward requests to x.y to other proxy


Hello,

I have a problem regarding the squid configuration.
I want squid to always forward requests to a specific domain (for ex. "never_direct.com") to another proxy server (for example "special_proxy.com").

What I did was adding the following to the squid.conf:
Code:
cache_peer special_proxy.com parent 3128 7 no-query no-digest no-netdb-exchange login=abc:secret
cache_peer_domain special_proxy.com never_direct.com
cache_peer_domain other_peer.com !never_direct.com

acl TESTDOMAIN dstdomain never_direct.com
never_direct allow TESTDOMAIN
However it does not work as expected. The requests are redirected sometime, but not always. Sometimes the local squid directly connects to the never_direct.com, which should not happen.

Do you have any suggestions about what went wrong here?

Thanks in advance!
 
Old 01-15-2007, 05:15 PM   #2
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 534

Rep: Reputation: 30
Maybe this url can help you http://www.merlinobbs.net/Squid-Book...CACHE-PROTOCOL for sure is better than my english ...
 
Old 01-16-2007, 03:08 AM   #3
intens
Member
 
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks, but the linked website is italian and I don't understand a word.
I did look through several squid-faqs before posting here...
 
Old 01-16-2007, 02:14 PM   #4
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 534

Rep: Reputation: 30
Sorry mate ... eheheh !!!!
Look on the squid wiki http://wiki.squid-cache.org/ they might have all that you need !!!! Sorry ehehe !!!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slapt-get, howto pass username and passwd for http requests to our proxy !! Padmakiran Slackware 13 05-05-2010 09:05 AM
forward all HTTP requests to the proxy cccc Linux - Networking 2 10-01-2006 06:42 PM
Forward FTP Requests mitt Linux - Networking 7 04-08-2005 10:11 AM
Mod_Proxy (Apache) won't forward requests bentman78 Linux - Software 1 04-20-2004 08:49 AM
Squid proxy - howto get SSL through? thincritter Linux - Software 0 03-29-2004 10:55 PM


All times are GMT -5. The time now is 09:05 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