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

    How can i use another gateway with squid

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 6 Posters 2.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.
    • W
      wilbertjoosen
      last edited by

      Hi people,

      How can i use another gateway at my pfsense? using the firewall rules, i can select wich networks can use the gateway i want. But when i use squid and tur on the transparent proxy, it goes os the wan interface, so i want tu use my opt interface.

      How can i do it?

      1 Reply Last reply Reply Quote 0
      • P
        pasdif
        last edited by

        I have the same problem. Can anyone help us ?

        Thanks in advance
        Pasquale

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

          Maybe help policy-routing rule ?

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • W
            wilbertjoosen
            last edited by

            @pasdif:

            I have the same problem. Can anyone help us ?

            Thanks in advance
            Pasquale

            Anyone?

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

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

              If you want to make use of WANx for a service on pfSense:
              @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>

              However i'm not sure how you would apply this to squid only, since if you redirect 0.0.0.0/1 & 128.0.0.0/1 to the other gateway everything from pfSense will be redirected.

              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
              • F
                freax
                last edited by

                Hi. Did someone make the Squid route to another link access and not WAN ?

                Thanks in advance.

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  Only 2.0 sorry.

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