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

    Squid with Upstream Proxy - Config

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 3 Posters 1.4k 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.
    • S
      shocko @stephenw10
      last edited by shocko

      @stephenw10 the link you send is for the proxy for the appliance itself not squid no?

      M S 2 Replies Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @shocko
        last edited by

        @shocko Your pfsense proxy talks to an upstream proxy, correct? The link provided are the settings you need to potentially modify.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        S 1 Reply Last reply Reply Quote 0
        • S
          shocko @michmoor
          last edited by

          @michmoor said in Squid with Upstream Proxy - Config:

          Your pfsense proxy

          The squid package/service running in transparent proxy mode needs to talk to an upstream proxy. The pfsense appliance proxy used for appliance updates/package pull etc is a different thing no? That link states as much:

          If this firewall resides in a network which requires a proxy for outbound Internet access, enter the proxy options in this section so that requests from the firewall for items such as packages and updates will be sent through the proxy.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Squid is a service running on the firewall that opens TCP connections outbound like any other service. Have tried adding the proxy there?

            Squid can probably use an upstream proxy directly though if you add some custom config.

            1 Reply Last reply Reply Quote 0
            • S
              shocko @shocko
              last edited by

              Looks like we simply use the cache_peer directive in the pre-auth custom section. Problem is upstream you need a proxy that accepts TLS.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Why do you say that? Looks like you would need to specify TLS for the peer to use it to me.

                http://www.squid-cache.org/Versions/v5/cfgman/cache_peer.html

                S 1 Reply Last reply Reply Quote 0
                • S
                  shocko @stephenw10
                  last edited by

                  @stephenw10 said in Squid with Upstream Proxy - Config:

                  Why do you say that? Looks like you would need to specify TLS for the peer to use it to me.

                  http://www.squid-cache.org/Versions/v5/cfgman/cache_peer.html

                  We observed this on the wire.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    You didn't specify TLS and it was still trying to use it?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      shocko @stephenw10
                      last edited by

                      @stephenw10 Yes seems so.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        shocko @shocko
                        last edited by

                        Any ideas anyone?

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