Re: [squid-users] SQUID port to port

From: elsergio <sergio.lm_at_telefonica.net>
Date: Tue, 22 Jul 2008 07:01:42 -0700 (PDT)

Hi all,

I have been suggested this

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

One per line.

Do I have to do something like this?

http_port 80
acl all src 0.0.0.0/0.0.0.0
always_direct allow all
cache_peer ip1 parent 8080 0 no-query origin_server name=DS1
cache_peer_access allow DS1

http_port 81
acl all src 0.0.0.0/0.0.0.0
always_direct allow all
cache_peer ip2 parent 8181 0 no-query origin_server name=DS2
cache_peer_access allow DS2

I dont know if this is the way to determine that all the incoming
requests to port 80 will go to 1p1:8080 and the requests to port 81
will go to ip2:8181. Is this the way to do it?

Thanks a lot,

Sergio

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

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:05 MDT