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

Vários Gateways + squid proxy

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 3 Posters 581 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.
  • D
    drlmatos
    last edited by Sep 28, 2019, 6:41 PM

    hello, I'm begginer here and need help about one question. My scenario is:
    PFSense 2.4.4 with 3 gateways for differente ranges of lan, but when I enable the Squid Proxy Server it disabled my firewall configuration of gateway and setup the gateway default for all ips indepentment of the lan.
    How I can to use different gateway without the Squid Proxy Server changed the gateway.

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Sep 28, 2019, 8:25 PM

      While you can use the tcp_outgoing_address directive to specify an outbound address for squid to use, I don't believe you can configure it per network. Squid only wants to use one address.

      1 Reply Last reply Reply Quote 1
      • S
        stephenw10 Netgate Administrator
        last edited by stephenw10 Sep 28, 2019, 10:10 PM Sep 28, 2019, 10:09 PM

        I've never tried it but you should be able to specify a different address for each matching ACL. Or for all traffic if you don't specify an ACL which is how I have used it:
        http://www.squid-cache.org/Doc/config/tcp_outgoing_address/

        Steve

        1 Reply Last reply Reply Quote 1
        • D
          drlmatos
          last edited by Sep 30, 2019, 12:57 PM

          where do I use the tcp_outgoing_address?
          and I have other problem, I use failover and load balance.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Sep 30, 2019, 1:06 PM

            In the Custom Options Before Auth field in the Squid general settings.

            Selection_700.png

            You can only specify an IP there, you can't use a gateway group.

            If you need Squid to use a gateway group you can leave it as default where it will use the system default route and then set that as gateway group in System > Routing.

            Steve

            1 Reply Last reply Reply Quote 1
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received