Search squid archive

Re: SQUID port to port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



elsergio wrote:

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

One per line.


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

name=DS1 ,etc. but otherwise yes.


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

cache_peer_access and some ACL's. Probably the myport or portname ACL.

http://www.squid-cache.org/Versions/v2/2.7/cfgman/cache_peer_access.html
http://www.squid-cache.org/Versions/v2/2.7/cfgman/acl.html

Amos
--
Please use Squid 2.7.STABLE3 or 3.0.STABLE8

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux