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

    New HOWTO: pfSense Squid Web Proxy with multi-WAN links (it works!)

    Scheduled Pinned Locked Moved Routing and Multi WAN
    80 Posts 46 Posters 124.7k 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
      zzajdica
      last edited by

      Thanks Heper but that also did not work.  I'm going to be deploying this later on with a different network (Right now I am just testing) with DNS servers on the LAN so maybe I'll have better luck in that environment.  I'll post back as soon as this happens.

      Many thanks.

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

        Hi you guys, any one have the document ? i cant get it from the url posted.

        thanks in advanced.

        Regards

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

          @acriollo:

          Hi you guys, any one have the document ? i cant get it from the url posted.

          thanks in advanced.

          Regards

          Solved, the link was down till now.

          Thanks

          1 Reply Last reply Reply Quote 0
          • Z
            zzajdica
            last edited by

            Still couldn't get it to work.. failover works great if I don't have Squid running.

            1 Reply Last reply Reply Quote 0
            • O
              onkeldave83
              last edited by

              We need LoadBalancing and FailOVER! squid guys working faster please!

              1 Reply Last reply Reply Quote 0
              • M
                mbedyn
                last edited by

                @DimitriS
                Did you tested this setup in case of loadbalancing? 
                After my test it perfectly works in case of failover, but not when I set up loadbalancing between two gateways..
                I tried to bind squid to loopback and LAN and only loopback, and works well only when gateways sets in failover.

                Michael

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

                  I agree with mbedyn, failover works but not loadbalancing.

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

                    Saw the same thing here.  Fail-over yes, load balancing no.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jikjik101
                      last edited by

                      same here no loadbalance only failover. Also the redirect error page in squidguard doesn't point to the redirect page.

                      2.0-RC3 (i386)
                      built on Wed Jun 22 12:38:11 EDT 2011

                      installed packages: squid, squidguard, bandwidth and vnstati

                      squid in transparent mode, 2 ISP (dynamic and static WANS)
                      floating rule set as this:
                      @zzajdica:

                      1 Reply Last reply Reply Quote 0
                      • J
                        jikjik101
                        last edited by

                        I tried to follow the HOWTO but it seems I encountered problems:

                        2.0-RC3 (i386)
                        built on Fri Jul 1 00:16:18 EDT 2011

                        1 Reply Last reply Reply Quote 0
                        • M
                          mohdhanafe
                          last edited by

                          Good Job

                          1 Reply Last reply Reply Quote 0
                          • Z
                            zetar
                            last edited by

                            Hello.
                            For three days I'm trying to do this.
                            I tried and tried, but I can not get it to work.
                            I can not open web pages it opens and then stops and does not go more 'forward.
                            I attach a screenshot
                            As you can see I can not even do program updates.
                            If anyone can help me, I would do a big favor.
                            Thanks to all.

                            foto_1.png
                            foto_1.png_thumb

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zetar
                              last edited by

                              Screenshot

                              Foto_2.png
                              Foto_2.png_thumb

                              1 Reply Last reply Reply Quote 0
                              • Z
                                zetar
                                last edited by

                                screenshot

                                Foto_3.png
                                Foto_3.png_thumb

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  zetar
                                  last edited by

                                  screenshot

                                  Foto_4.png
                                  Foto_4.png_thumb

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

                                    @zetar

                                    what does not work ?

                                    are you able to do basic loadbalancing without squid ?
                                    if no -> read the sticky about loadbalancing / failover in 2.0 forum

                                    if yes -> is your floating rule being hit when trying to access a page ? –> if yes then you could be having a dns issue, duplicate the floating rule you have for http but change to tcp/udp and destination to DNS (53)

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      zetar
                                      last edited by

                                      Hello.
                                      Thank you for reply.
                                      I reinstalled from the beginning.
                                      The load balancing has worked very well until the installation of the Squid.
                                      After the Squid and the fact the rules as you said to no longer works.
                                      Attached is a screenshot of the rules are created by me for other services.
                                      Can interfere at times.
                                      Another thing, what are the correct values ​​to put as the threshold latency and packet loss.
                                      After the rule of floating, I found this rule, that fact alone, can 'interfere. Screenshots.
                                      Another problem by loading a download of 6 7 megs no longer opens the page. I have to stop the download.
                                      Thanks again.

                                      fotor_2.jpg_thumb
                                      fotor_2.jpg
                                      fotor_1.jpg_thumb
                                      fotor_1.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • Z
                                        zetar
                                        last edited by

                                        If you notice the OPT1 and 'upload. the other three WAN server always does not happen.

                                        fotor_5.png_thumb
                                        fotor_5.png

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

                                          Will these work for 3 ISP or 3 WAN links?

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

                                            have you tried not to append the custom options which is the loopback maybe that will work.

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