Load balancer + Squid
-
Good, I discuss my needs and from there to propose ideas.
I am the system administrator of a school, which for reasons of increased users, I need a load balancer. To control access I think we need is squid, but I have heard that the two on the same machine is not possible. The machine has three network cards.
My current configuration is:
Net (from 191.168.0.1 to 191.168.5.254)
PfSense (wan) –-------- Router1 191.168.4.103 (191.168.4.100)
------ Lan pfSense (lan) 191.168.4.102
PfSense (WAN1) -------- Router2 191.168.4.104 (191.168.4.101)I would like a detailed configuration in order to make the load balancing correctly.
I have heard that for rolling, the wan should be on different subnets. If the machine with squid and the Balancer can not be on the same machine, how should I configure squid?Thanks everybody
Francesc Alier :)
francesc.alier@standreu.org -
You can run squid and pfSense on the same box, but a limitation of 1.2.3 is that squid will not work properly with multiwan and thus no load balancing. If you are using 1.2.3 (and you should be for now), put squid on a separate box inside your DMZ, then use pfSense for load balancing your connections. The documentation for doing all this is readily available, Google will help you find it.
-
hi, is squid work with load balance in 2.0
thanks -
-
It can work on 2.0, though the setup isn't fully documented yet. There is a forum thread with more info, search for squid multi-wan and look for posts from Ermal.