Search squid archive

Re: LVS & Reverse Proxy Squid

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

 



"Brad Taylor" <btaylor@xxxxxxxxxxxx> writes:

> We use LVS (load balancer) to send traffic to multiple Squid 2.5
> servers in reverse proxy mode. We want to put multiple Squid instances
> on one box and have successful done that by changing: http_port 80 to
> http_port 192.168.60.7:80 in the squid.conf file. We tested to that

Squid is listening only on a private address now, what will the source
address of response from Squid be?

> instance of squid and worked successfully. Once it is added to the LVS
> load balancer the site no longer works. I'll check with the LVS group
> also.

You need as many public addresses as number of Squid instances you'd
like to run in a single box, and configure each instance to listen on a
different public address, e.g.:

Instance 1:

         http_port 192.168.60.7:80
         http_port 168.215.102.126:80
         udp_incoming_address 192.168.60.7
         udp_outgoing_address 255.255.255.255

Instance 2:

         http_port 192.168.60.8:80
         http_port 168.215.102.127:80
         udp_incoming_address 192.168.60.8
         udp_outgoing_address 255.255.255.255

Hope that helps.

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

  Powered by Linux