Question about load balancing
-
Hi,
I have a network where each client connects with non-transparent proxy and this proxy connects with pfsense for have internet acces. I have six WAN and I've configured the pfsense for load balancing, but I've a problem. I see that my pfsense for each ip address, assign one router wan for internet acces, the problem is that my proxy do NAT and the ip that pfsense receives is always the same, the proxy's ip, so the pfsense assign always same router and this router is overloaded.
My question is if the pfsense can distribute of other way the connections to to be used by all routers although always it receives same ip. Else, I guess I'll have change the proxy and do transparent proxy.
Thanks and sorry for my english.
-
Your proxy is not doing NAT, it is proxying. A proxy cannot maintain the original client's IP address. Even with transparent proxying this is not possible, as once the traffic hits the proxy, it is the proxy system itself which is contacting the web sites and then relaying the information back to the clients.
-
Hi,
Thank you for the info, sorry for my errors, i'm newbie yet.
So, is there any way to have a network with a load balancing and proxy wich can use all routers?
Thanks,
-
Not in the way you describe, at least not that I'm aware of. Someone else who knows squid's config better than I do would have to answer that.