Re: [squid-users] SQUID port to port

From: elsergio <sergio.lm_at_telefonica.net>
Date: Tue, 22 Jul 2008 02:08:48 -0700 (PDT)

Henrik Nordstrom-5 wrote:
>
> On mån, 2008-07-21 at 15:19 -0700, elsergio wrote:
>> Hi,
>>
>> Here comes another squid question:
>>
>> It is possible to have a squid proxy working like this:
>>
>> listening on port 80 and forward connection to ip1 on port 8080
>> listening on port 81 and forward connection to ip2 on port 8181
>
> Yes. That's a reverse proxy with multiple ports and multiple backend
> servers, using cache_peer_access to select what to sent to each.
>
> Regards
> Henrik
>
>
>

Hi Henrik,

Let's see if I can figure out the configuration:

http_port 80 81 #to make squid listen to the desired ports

cache_peer ip1 parent 8080 0 no-query origin_server name DS1
cache_peer ip2 parent 8181 0 no-query origin_server name DS2

I cannot find out how to connect origin port with destination port. How is
the good use of the cache_peer for this purpose?

Thanks again. Best regards,

Sergio

-- 
View this message in context: http://www.nabble.com/SQUID-port-to-port-tp18578787p18585269.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Jul 22 2008 - 09:08:54 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 22 2008 - 12:00:04 MDT