Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Load balancer + Squid

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 5 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zae_bdn
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • N
          nassman
          last edited by

          hi, is squid work with load balance in 2.0
          thanks

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            @nassman:

            hi, is squid work with load balance in 2.0
            thanks

            No.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              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.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.