Search squid archive

Re: how to use tproxy + iptables load balancing

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

 



Mohsen Dehghani wrote
> Hi team
> I am planning to install multiple instances of squid on a machine as a
> frontend. Tproxy is now working fine on a single instance machine.
> No I want to run multiple instances and use this help to load balance
> between them:
> 
> http://wiki.squid-cache.org/ConfigExamples/ExtremeCarpFrontend#Frontend_Bala
> ncer_Alternative_1:_iptables
> 
> does anybody have any experience doing this?
> 
> I think the key rule in tproxy iptables is:
> iptables  -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY
> --tproxy-mark
> 0x1/0x1 --on-port 3129
> 
> I have tried some ways of combination of this with the example without any
> success.
> 
> thanks

Hi Mohsen,
have you installed success now?
i am also planning to install it with iptables balance.
now my squid server running with 3 workers well.but the usage of per core is
uneven.




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-to-use-tproxy-iptables-load-balancing-tp4661863p4662554.html
Sent from the Squid - Users mailing list archive at Nabble.com.




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

  Powered by Linux