LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-06-2006, 04:51 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
squid proxy through another proxy


Is there a way to make my squid server work via another proxy server? I don't see anywhere in the squid.conf file and I though that setting up the main proxy server in gnome-networking-preferences would forward everything wanting internet through the primary proxy server.

Example:

client --> proxy-server2:1234 --> proxy-server1:8080

The reason that I'm doing it is that my clients are within a small closed network, but I want them to have Internet access.

Thanks for the help!
 
Old 03-07-2006, 02:52 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Assuming that the squid box is in the middle there, then i believe you'd have a cache-peer declaration as a parent: http://squid.visolve.com/squid/squid...htm#cache_peer
 
Old 03-07-2006, 05:26 PM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
Thanks Chris for the response. This is sort of what I'm looking for but I can't get it to work. I guess what I really want squid to do go through the same proxy without having to be a parent or sibling. Instead, I just want squid to forward any html request through to another proxy server.

There is a really neat little program that runs on Windows from (http://www.analogx.com/contents/down...work/proxy.htm) and I guess I'm looking for something like that for Linux instead of something as robust as Squid.

Any other ideas?
 
Old 03-08-2006, 02:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can easily use iptables to transparently proxy on a local machine. just put a rule in to redirect output port 80 traffic to the proxy. couldn't tell you what that would actually look like, but it's simple stuff.
 
  


Reply



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
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Using Squid for proxy mercunium Linux - Networking 0 10-09-2003 04:16 PM
Squid Proxy joseph Linux - Software 2 09-26-2003 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 AM.

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
Open Source Consulting | Domain Registration