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

    Outbound loadbalancing not working RC2??

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    18 Posts 5 Posters 5.5k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      I am running an almost identical setup and it's working perfectly on the 21/6/11 snapshot. I can't beleive much changed in one day.
      It looks like you have everything set correctly. Are the gateways staying 'up' when you start downloading? Is there anything in the logs from apinger?

      Steve

      1 Reply Last reply Reply Quote 0
      • T
        totalimpact
        last edited by

        @Steve - not much logged, everything shows to be up:

        
        Jun 23 01:33:23	apinger: Error while feeding rrdtool: Broken pipe
        Jun 23 01:34:23	apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
        
        

        have you set any custom latency/loss settings on the gateways? What form of outbound NAT are you using?

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

          Hi,

          1.) which packages do you use on this machine ? squid ?
          2.) Are your two WAN connections using the same gateway ? You have to take a look at you official IP/subnet/gateway from you ISP and see, if they are using different gateways.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            @totalimpact:

            have you set any custom latency/loss settings on the gateways? What form of outbound NAT are you using?

            I'm using the default values for latency and loss, I never get warnings from apinger in the logs but then both my connections seem to be good.
            I have outbound NAT set to automatic.

            It's possible that you've managed to set something behind the scenes with all the config changes that's causing a problem. Though this would be a bug. It might be worth starting from scratch to make sure.

            Steve

            1 Reply Last reply Reply Quote 0
            • T
              totalimpact
              last edited by

              I only installed Snort, but its not on.

              My wans are from 2 different providers, if I check the default gateway box on each connection its obvious traffic is going out each gateway - so its not a gateway mismatch on the ISP side.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                The fact that it uses which ever is set to default implies it is using the default system routing and not the loadbalancing group. Yet it looks, from what you have posted, as though everything is set up correctly.  :-
                Do you have any floating rules? They are processed first so could be catching traffic before the load balancing rule.

                Steve

                1 Reply Last reply Reply Quote 0
                • T
                  totalimpact
                  last edited by

                  Normally I have no Default gateway checked. I removed all floating rules that were made by the traffic shaper yesterday, this still didnt help.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dwood
                    last edited by

                    On a clean RC3 install, load balancing worked as it should (two WAN connections) until I installed Squid.  After installing that package and setting up transparent proxy, all traffic went to WAN1

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

                      @dwood:

                      On a clean RC3 install, load balancing worked as it should (two WAN connections) until I installed Squid.  After installing that package and setting up transparent proxy, all traffic went to WAN1

                      This is common. You have to search the forum for "floating rules" and the use with multiwan and squid. You have to do some additional configuration.

                      But this is not the thread to talk about that. First search the forum and if there are still any questions, start a new thread for you problem.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dwood
                        last edited by

                        Thank you sir :-)  I do believe I may write a basic Multi-Wan online how-to after all of this :-)

                        I've been following along the setup guides which are "stuck" at the top of this forum…but already several gotchas:

                        a.  The load balancing thread makes the process much more complicated...all you need is one rule!
                        b.   Pass thru VPN does not work unless you turn on sticky connections.
                        c.   Floating rules have no mention in the multi-wan setup... I found this which is a bit misleading: http://forum.pfsense.org/index.php/topic,28121.0.html
                        d.  Context help is not there for packages generally in in RC3

                        I will search up the multi-wan, squid and floating rules and play some more tonight.  Given that (based on the above) I'm likely to encounter incorrect information...is there a thread link that you know is correct for squid on psSense2, multiwan, with floating rules?

                        When done all of this, I will edit my thread over at small net builder..and replicate in the form of a user guide here :-)

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