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

    When enabled "squid" proxy cache uses only first WAN out of 3 available

    1.2.1-RC Snapshot Feedback and Problems-RETIRED
    3
    5
    3.5k
    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.
    • ?
      Guest
      last edited by

      I have a standard 3 WAN setup working well in loadbalancing mode.

      Once I installed "squid" as transparent proxy (from packages) I noticed that it uses only one out of my 3 wan setup, and there is no way to fix it.

      running 1.2.1 beta

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        @http://forum.pfsense.org/index.php/topic:

        General Stuff:
        If you want to make use of WANx for a service on pfSense:
        Quote from: Hoba
        You need a static route to the <remote-tunnel-endpoint-ip>/32 via <gateway-of-wan2>. All services running at the pfSense directly (like ipsec, a proxy, dnsforwarder,…) only follow the routingtable definitions.</gateway-of-wan2></remote-tunnel-endpoint-ip>

        I dont know if this will change with a future release.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          looks like it will only switch from WAN1 to WAN2

          is there a way to make it use default loadbalancing rule?

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            All services running at the pfSense directly (like ipsec, a proxy, dnsforwarder,…) only follow the routingtable definitions.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              For now, the best work around is set a cache server (squid or not) into a local network or DMZ other than pfsense.

              Configure in squid pfsense package the icp port and the upstream proxy to the local cache server.
              Please do not enable transparent proxy on the same interface that cache server is(loop).

              In local cache server(bsd,linux,windows,mac or other pfsense in a virtual machine) configure to accept connections from pfsense.

              finaly configure 2 rule in pfsense on cache server's interface to access all local networks via default gateway and a rule to access the internet via load balance.

              I guess in 1.3 the 'localhost' or 'all interfaces' tab will apear in rules to solve this limitation.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

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