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

    Squid3 transparent proxy not serving pages

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 4 Posters 2.5k 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.
    • KOMK
      KOM
      last edited by

      I remember that i386 squid had some issues many months ago and I don't know if they got addressed or not.  That might be your problem.  Are you able to run x64?

      1 Reply Last reply Reply Quote 0
      • N
        Netizen1
        last edited by

        On your test PC, did you set your default gateway to pfsense's LAN ip address?

        1 Reply Last reply Reply Quote 0
        • L
          lmitchel
          last edited by

          @Netizen1:

          On your test PC, did you set your default gateway to pfsense's LAN ip address?

          Yes, the gateway is via DHCP and I checked.

          @KOM:

          I remember that i386 squid had some issues many months ago and I don't know if they got addressed or not.  That might be your problem.  Are you able to run x64?

          Yes, I will report back.  Originally this was to be on an older machine but I have since put in a new one.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            32-bit builds will go away soon enough so you really should move to 64-bit if you can.

            1 Reply Last reply Reply Quote 0
            • L
              lmitchel
              last edited by

              I have installed and setup the amd64 version.  I am having the same problems with the transparent proxy.  Manually set up in browser is fine.

              I have the same settings as before.  What else can I check?  It seems the requests never hit the cache or firewall.  I will keep looking as well.

              Thank you.

              1 Reply Last reply Reply Quote 0
              • L
                lmitchel
                last edited by

                I ended up unticking the transparent proxy and manually adding a LAN rule to do the same thing:
                rdr on fxp0 inet proto tcp from any to 192.168.2.0 port = http -> 127.0.0.1 port 3128

                This does not work.  The rule shows but does not redirect to http to 3128.

                I wonder if there is a problem with the built in rule:
                rdr on fxp0 inet proto tcp from any to ! (fxp0) port = http -> 127.0.0.1 port 3128

                In the meantime, if anyone has an idea of why the transparent proxy isn't working within Squid3 please let me know.

                Thank you.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  @lmitchel:

                  In the meantime, if anyone has an idea of why the transparent proxy isn't working within Squid3 please let me know.

                  It's working just fine for pretty much everyone but you… Do a traffic capture, this doesn't go anywhere with the amount of info available here.

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    Transparent proxy is a PITA when it comes to HTTPS, so perhaps this is a blessing in disguise.  Consider keeping squid in explicit mode and use WPAD to help your clients find it automatically.

                    https://doc.pfsense.org/index.php/WPAD_Autoconfigure_for_Squid

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      @KOM:

                      Transparent proxy is a PITA when it comes to HTTPS, so perhaps this is a blessing in disguise.

                      ;D 8) Not a fan of transparent proxies either.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lmitchel
                        last edited by

                        Thanks for the suggestion KOM.  I used the wpad link you sent and am dropping the transparent proxy.  I guess I am stuck in the past - had that set up using centos but lost the hard drive and was trying to recreate it on pfsense.  This is a better solution.  I will monitor it and make certain that it works as expected.

                        Thanks for the help doktornotor as well - when I have time I will try the sniffer.

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