Re: [squid-users] Forwarding to different ports

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 19 May 2009 12:44:20 -0800

edson wrote:
>
> Matus UHLAR - fantomas wrote:
>
>> On 14.05.09 05:17, edson wrote:
>>
>>> I'm using squid as an internal proxy, and need to forward HTTP/HTTPS/FTP
>>> to different ports to another proxy.
>>>
>>> Is this possible?
>>>
>>> How do I configure this in squid? Can't see that it is possible to do
>>> this
>>> with the cache_peer configuration.
>>>
>>> Proxy.pac is not an option...
>>>
>> do you want _clients_ to use different proxies?
>>
>> without proxy autoconfiguracion, you can do HTTP interception with
>> firewall/SQUID, FTP interception with firewall/frox (transparenf FTP
>> proxy)
>> but you can not intercept HTTPS.
>> --
>> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
>> Warning: I wish NOT to receive e-mail advertising to this address.
>> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
>> Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
>>
>>
>>
>
> Hi, I actually found an "answer" here:
> http://www.nabble.com/Forwarding-HTTP-and-HTTPS-Traffic-to-an-Upstream-Proxy-using-Cache_Peer-on-separate-ports-td15598777.html
>
> I'm also using Finjan...
>
> Difference is that the squid version I'm running is 2.5 (centos4), so the
> name= option at the cache_peer didn't seem to work.

Right.

> Is this a squid 2.6 thing, or am I doing something wrong in the configuration?
>

The name option to the cache_peer directive (as well as a whole host of
other changes) was introduced in 2.6. If you are unwilling (or unable)
to update your Squid to a currently supported version, you can add a
entries to your hosts file (or DNS A records) pointing to the same IP.

>
> - Edson
>

Chris
Received on Tue May 19 2009 - 20:44:38 MDT

This archive was generated by hypermail 2.2.0 : Wed May 20 2009 - 12:00:02 MDT