Pfsense + squid + loadbalance



  • i have two wans and i do load balancing in pfsense 1.2.2 and work complete
    then i set proxy server and proxy report

    but i found that my proxy can not use loadbalning

    How can i do please answer me

    thank you in advance



  • the pfSense squid package does not support multi-WAN.  In order to use squid in this scenario, install squid on a separate machine and load balance its traffic.



  • Can you explain why its not possible?



  • http://forum.pfsense.org/index.php?action=search

    Loadbalancing is a kind of policy routing.
    Rules are only applied on traffic inbound on an interface
    pfSense cannot make use of the loadbalancing pool itself. (Since there are no outbound rules which can have a lb-pool as gateway)
    Squid runs on the pfSense.



  • @chudy:

    Can you explain why its not possible?

    You can install Vmware esxi
    If you install 2 seperate virtual machine (one for load balance and one for squid) on Vm, you can use load başance and proxy same time.



  • Actually i'm thinking about the modifying pf rules.
    I always wanted to setup squid-> traffic shaper -> load balancer

    @tuzsuzdeli:

    @chudy:

    Can you explain why its not possible?

    You can install Vmware esxi
    If you install 2 seperate virtual machine (one for load balance and one for squid) on Vm, you can use load başance and proxy same time.

    Im talking about 1 box



  • We know you are, and we're telling you that squid won't work with a multi-wan install of pfSense.  Squid doesn't grok route-to.


Locked