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

    Squid3 - New GUI with sync, normal and reverse proxy

    Cache/Proxy
    104
    428
    469.9k
    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.
    • T
      Truster
      last edited by

      @Hobby-Student:

      Try Google like I said… This is an IIS property which is not controlled by any other Management console or powershell.

      Hi Hobby-Student.

      i tried this this already. Also a coworker has checked the IIS configuration. Nothing found. The problem only occur if the connection is forwared through the proxy. a direct-connection to the iis enabeld site works.

      Best regards
      Dave

      1 Reply Last reply Reply Quote 0
      • H
        Hobby-Student
        last edited by

        @Truster:

        Hi Hobby-Student.

        i tried this this already. Also a coworker has checked the IIS configuration. Nothing found. The problem only occur if the connection is forwared through the proxy. a direct-connection to the iis enabeld site works.

        Best regards
        Dave

        I do have a similar Setups. Exchange-Server (2007, 2010) behind pfsense with squid as reverse proxy. For me the only thing breaking attachments was the IIS default configuration.

        Am I reading right, that attachments work through squid, except larger files? (you mentioned 8MB)
        It's working from the outside,if squid is not active? (direct connection from the outside to the Exchange)

        1 Reply Last reply Reply Quote 0
        • T
          Truster
          last edited by

          Hi hobby-student,

          thats right, if i create a nat rule for webmail.contoso.com, port  443 and forward it to the  target address 192.168.0.10, owa works with large attachement
          if i enable the reverse proxy (all enabled) i can only attach 1-2kb files

          im using iis7 and iis8 in different setups.

          1 Reply Last reply Reply Quote 0
          • H
            Hobby-Student
            last edited by

            @Truster:

            Hi hobby-student,

            thats right, if i create a nat rule for webmail.contoso.com, port  443 and forward it to the  target address 192.168.0.10, owa works with large attachement
            if i enable the reverse proxy (all enabled) i can only attach 1-2kb files

            im using iis7 and iis8 in different setups.

            that sounds weird… did you use something like

            With the following command you can change the value (in this case 10MB):
            C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost
            
            C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost
            
            1 Reply Last reply Reply Quote 0
            • T
              Truster
              last edited by

              No, hobby-student, but i did some future investigations and my conclusion is: maybe a bug in IIS 8
              i did the following tests
              pfsense reverse proxy, behind an iis7 (server 2008r2) with exchange 2010 sp3 UR2: It works 
              pfsense reverse proxy, behind an iis8 (server 2012) with exchange 2010 sp3 UR2: It doesn't work with safari/firefox/chrome. No problems wih IE…. grrr

              so i think its not the pfsense....

              1 Reply Last reply Reply Quote 0
              • H
                Hobby-Student
                last edited by

                @Truster:

                No, hobby-student, but i did some future investigations and my conclusion is: maybe a bug in IIS 8
                i did the following tests
                pfsense reverse proxy, behind an iis7 (server 2008r2) with exchange 2010 sp3 UR2: It works 
                pfsense reverse proxy, behind an iis8 (server 2012) with exchange 2010 sp3 UR2: It doesn't work with safari/firefox/chrome. No problems wih IE…. grrr

                so i think its not the pfsense....

                that's what i meant. it's an IIS thing… with non-IE Browsers it's invoking other stuff, so an IIS setting could be the problem.

                1 Reply Last reply Reply Quote 0
                • M
                  mromero
                  last edited by

                  @marcelloc:

                  Squid3-dev has it's own forum topic.

                  Can you point me to the Forum Topic?

                  1 Reply Last reply Reply Quote 0
                  • T
                    TheNetStriker
                    last edited by

                    @marcelloc:

                    @TheNetStriker:

                    I've added a new page to configure additional ports and added a configuration for client certificates.

                    I'm doing it on web servers page but I'll take a look on your code and see how can I merge it with my current uncommitted code.

                    Thanks for your code contribution.  :)

                    Could you already take a look at my code changes? (https://github.com/TheNetStriker/pfsense-packages/commit/7d926f3d44cee817475c20bde44fe6471bab4ba7)

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

                      @marcelloc:

                      Squid3-dev has it's own forum topic.

                      I have looked for it… and I can't find it.

                      Could you please post a link to it here?

                      David

                      1 Reply Last reply Reply Quote 0
                      • nesenseN
                        nesense
                        last edited by

                        Hi, there is a mistake in the URL used for dynamic caching under Windows Update, this is the wrong line:

                        refresh_pattern -i my.windowsupdate.website.com/.*.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

                        it should be

                        refresh_pattern -i windows.com/.*.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

                        1 Reply Last reply Reply Quote 0
                        • S
                          stanthewizard
                          last edited by

                          Installed 3.3.10

                          Huge issue

                          OWA not working anymore

                          and mixed website

                          I reset the entire settings the more webserver and mappings I'm adding the messier it gets

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

                            @nesense:

                            Hi, there is a mistake in the URL used for dynamic caching under Windows Update, this is the wrong line:

                            fixed. Thanks for your contribution.

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

                            Help a community developer! ;D

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

                              I've just installed pfSense 2.1.1 and Transparent SSL is no longer working… The certificates squid provides are no longer trusted.

                              1 Reply Last reply Reply Quote 0
                              • E
                                edanpedragosa
                                last edited by

                                @postduif:

                                I've just installed pfSense 2.1.1 and Transparent SSL is no longer working… The certificates squid provides are no longer trusted.

                                I'm having the same problem with this.

                                It happened even before I updated to 2.1.1, the SSL filtering went off after I updated the Squid3-Dev yesterday.

                                Any fix? Thanks in advance!

                                1 Reply Last reply Reply Quote 0
                                • E
                                  edanpedragosa
                                  last edited by

                                  Any fix for this? Bumping up thread…

                                  thanks in advance!

                                  1 Reply Last reply Reply Quote 0
                                  • belleraB
                                    bellera
                                    last edited by

                                    https://forum.pfsense.org/index.php?topic=62256.msg407762#msg407762

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      edanpedragosa
                                      last edited by

                                      Got it working again.

                                      Here's what I did:

                                      1. stopped squid
                                      squid -k shutdown

                                      2. Cleared the squid cache
                                      mv /var/squid/cache /var/squid/cachebu

                                      3. Regenerate it (takes some time to complete)
                                      squid -z

                                      4. Rebooted the machine

                                      5. Cleaned up a bit
                                      rm -rf /var/squid/cachebu

                                      At first, squid and squidguard does not want to start but after the cache were cleaned up and regenerated, everything's back to normal… I hope...

                                      and yes, this addition worked a treat:

                                      always_direct allow all
                                      ssl_bump server-first all

                                      1 Reply Last reply Reply Quote 0
                                      • belleraB
                                        bellera
                                        last edited by

                                        If you have squidGuard-squid3 you will need this patch also:

                                        https://forum.pfsense.org/index.php?topic=73640.msg402286#msg402286

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          edanpedragosa
                                          last edited by

                                          Thanks for pointing that out….

                                          I'll wait for the official fix from the developer so I won't mess up a lot.

                                          I'm happy that it's working for now until the next update happens...

                                          Thanks a lot!

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            ha11oga11o
                                            last edited by

                                            Yeah guys you are talking about lots of commands and advance things which we n00bs dont understand and dont know how to do.

                                            let se,

                                            i updated it to 2.1.1 everything work fine except squid3. Process start then stop, then start,… in the loop. - i removed it.

                                            After few days i saw pfblocker just stop to work and no rules on firewall. I tried to reinstall it - no joy.

                                            Ther i roll back to 2.1 and everything works but squid3 wont to install. Probably i have cache issue, but dont know how to fix it. So i just give up. I hope, i really hope it will be updated so we mortals can just click and install it without problems.

                                            When im truing to install it on old 2.1 i got this

                                            Beginning package installation for squid3 .
                                            Downloading package configuration file... done.
                                            Saving updated package information... done.
                                            Downloading squid3 and its dependencies...
                                            Checking for package installation...
                                            Downloading https://files.pfsense.org/packages/amd64/8/All/squid-3.1.22_1-amd64.pbi ...  (extracting)
                                            Loading package configuration... done.
                                            Configuring package components...
                                            Additional files... squid.inc failed.
                                            Backing up libraries...
                                            Removing package...
                                            Starting package deletion for squid-3.1.22_1-amd64...done.
                                            Removing squid3 components...
                                            Tabs items... done.
                                            Menu items... done.
                                            Services... done.
                                            Loading package instructions...
                                            Include file squid.inc could not be found for inclusion.
                                            Deinstall commands...
                                            Not executing custom deinstall hook because an include is missing.
                                            Removing package instructions...done.
                                            Auxiliary files... done.
                                            Package XML... done.
                                            Configuration... done.
                                            Cleaning up... done.
                                            Failed to install package.

                                            Installation halted.

                                            I really dont dare to touch anything anymore, but i must give up of new pfsense version and squid3 now.

                                            Many thnx for all good work in past and future. It really helps. Im waiting for new wersion which will fix this issues.

                                            Cheers :)

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