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

    PfSense 2.1 Floating rules for Multi Wan doesn't work.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    86 Posts 35 Posters 50.2k 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.
    • C
      craibo
      last edited by

      If you switched your package repository over to lusca,  because you were desperate for a solution to this and a bit of an idiot, how would you switch it back?

      Thanks

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        https://doc.pfsense.org/index.php/Package_Manager_Settings  ;)

        1 Reply Last reply Reply Quote 0
        • C
          craibo
          last edited by

          @ptt:

          https://doc.pfsense.org/index.php/Package_Manager_Settings  ;)

          Unfortunately, Going to the pkg_mgr_settings.php page and saving with out checking the box, doesn't revert back to the pfsnese package repository.

          1 Reply Last reply Reply Quote 0
          • C
            cheonne
            last edited by

            @Tram:

            @ptt:

            https://doc.pfsense.org/index.php/Package_Manager_Settings  ;)

            Unfortunately, Going to the pkg_mgr_settings.php page and saving with out checking the box, doesn't revert back to the pfsnese package repository.

            To restore or use original repository.
            you can no longer see lusca updates

            ./package.sh off
            
            1 Reply Last reply Reply Quote 0
            • P
              pubmsu
              last edited by

              Does anyone know how to make this work? This is probably the number one issue for many users, which is stopping them from upgrading to 2.1.

              There may have been a simple bug that is not letting squid and the quick floating rule work like before.

              We really need the fix!

              1 Reply Last reply Reply Quote 0
              • S
                SaFi
                last edited by

                Hello folks,

                After about 8 months past, did someone try the new release of pf (2.1.1-RELEASE) to check if the issue still exist?
                for myself I've removed squid for a long time ago waiting a one's hero report that it's was fixed.
                I will keeping my eyes on this topic and I will waiting that HERO

                God bless all of you

                1 Reply Last reply Reply Quote 0
                • H
                  hyrol
                  last edited by

                  Has anyone tried pfSense 2.1.2 Release with Squid Proxy for Multi-Wan Load-Balacing.

                  1 Reply Last reply Reply Quote 0
                  • G
                    georgio777
                    last edited by

                    @hyrol:

                    Has anyone tried pfSense 2.1.2 Release with Squid Proxy for Multi-Wan Load-Balacing.

                    I am on the latest version on pfSense and there has not been a fix yet to the issue. Still suffering from the same problem.

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

                      If you're only looking for failover capabilities, here's a workaround.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hyrol
                        last edited by

                        @georgio777:

                        @hyrol:

                        Has anyone tried pfSense 2.1.2 Release with Squid Proxy for Multi-Wan Load-Balacing.

                        I am on the latest version on pfSense and there has not been a fix yet to the issue. Still suffering from the same problem.

                        Hi georgio777 thanks for info.

                        1 Reply Last reply Reply Quote 0
                        • G
                          georgio777
                          last edited by

                          @timthetortoise:

                          If you're only looking for failover capabilities, here's a workaround.

                          By any chance do you know if it is possible to maintain Load Balancing for all traffic except HTTP traffic and use Failover for HTTP? The reason is that if the default gateway is down, Squid will stop working, if I can take the advantages of Failover only for the Squid traffic without stop using Load Balancing, that will be great.

                          Thanks!

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

                            You should be able to use standard gateways like normal for everything but HTTP. Floating rules are not broken, as evidenced by setting a rule for any source to any destination HTTP with the active gateway being something other than the default gateway. At this point squid is unable to pass traffic because it's trying to push it out the default gateway and it's actually being sent out another.

                            As long as you have default gateway switching enabled, squid will switch to that gateway when it is restarted. I've tested this and it's working great.

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

                              Hello !
                              Any news?
                              I test an upgrade from 2.0.x to 2.1.4 and it don't work. Squid is very slow, and the http port don't work.
                              We can't update pfsense :-(

                              Thanks a lot

                              1 Reply Last reply Reply Quote 0
                              • A
                                arclegna
                                last edited by

                                Same question here, im on pfsense 2.1.4 and wondering if any solution yet to squid (no transparency) + loadbalance + failover, thanks in advance.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  klazoid
                                  last edited by

                                  I came back hoping that after one year there would be a fix but  :'(
                                  Wasting 2 lines atm as long as the default gateway doesn't go down.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Smithes
                                    last edited by

                                    I setup Multi-WAN like shown in the official tutorial…. Works only for Connections without squid. And works very fine. But I also need squid. So I installed the squid 3.3-dev package from the package-list, because squid supports the "radom" command since 3.2.
                                    I know it is a dev-package, but I run it on a wlan-network with 5000 Users on peek and its runs very fine. Also with squidguard.
                                    I also know that there is no failover for squid, if one of the lines will be offline, but that is not important for me, because the two lines are from the same provider and come over the same cable. It’s a cable internet connection from unitymedia(Germany).

                                    I added these lines, for split the traffic to two lines. *1

                                    acl fiftyPercent random 0.5
                                    tcp_outgoing_address 192.0.2.1 fiftyPercent
                                    tcp_outgoing_address 192.0.2.2

                                    *1: The information’s found here: http://wiki.squid-cache.org/Features/AclRandom
                                    greets Smithes

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

                                      i am using 2.1.5-RELEASE and squid 2.7.9 pkg v.4.3.4 and have the same issue, squid  only work with defaul gateway, anyone have any idea ?

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kababayan
                                        last edited by

                                        Work around will be too easy if you are using virtual, in fact there are lot of ways with virtual setup.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          alxbob
                                          last edited by

                                          Does acl random provide failover if one gateway is down?

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            firatnemis
                                            last edited by

                                            If all the modems has got the same speed what should write custom options for equal speed ?

                                            @ruggero:

                                            first install squid3-dev  from available packages.

                                            ++++++in this way you can use configuration directive acl random .
                                            from squid doc :
                                            changes in 3.2 acl : random

                                            New type random. Pseudo-randomly match requests based on a configured probability .

                                            now you can do all the configuration you need for multiwan in Custom options - Custom setting of proxy server.

                                            in my situation ( 3 wan ) :

                                            "
                                            acl venticinque random 1/4
                                            acl settantacinquediv2 random 0.5

                                            tcp_outgoing_address 192.168.4.254 venticinque

                                            tcp_outgoing_address 192.168.3.254  settantacinquediv2

                                            tcp_outgoing_address 192.168.2.254

                                            "

                                            192.168.4.254 = ipv4 address wan 1
                                            192.168.3.254 = ipv4 address wan 2
                                            192.168.2.254 = ipv4 address wan 3

                                            random 1/4 = 25 % = wan1 25% of traffic
                                            random 0.5 = (100-25)/2 = wan2 37,5 % of traffic
                                            else = wan3 37,5 % of traffic

                                            i do this because my 3 wan are not equal.

                                            in case of 2 wan :

                                            "
                                            acl cinquanta random 0.5

                                            tcp_outgoing_address 192.168.4.254 cinquanta

                                            tcp_outgoing_address 192.168.2.254

                                            "

                                            you do not need extra rule on firewall ( floating rule ) .
                                            Also it bypass gateway groups.

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