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

    Squid 3.3.4 package for pfsense with ssl filtering

    Scheduled Pinned Locked Moved Cache/Proxy
    305 Posts 72 Posters 329.1k 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.
    • marcellocM
      marcelloc
      last edited by

      you can install the package using this:

      amd64

      fetch http://files.pfsense.org/packages/amd64/8/All/squid-3.3.8-amd64.pbi
      pbi_add --no-checksig squid-3.3.8-amd64.pbi
      

      To edit squid.conf file and keep it on xml backup, you can use filer package.

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • B
        bilbo
        last edited by

        @marcelloc:

        @ipis:

        Is this normal, or theres a way to overcome this? Thanks

        Yes, to avoid these erros, play with squid cert options and include pfsense CA as a trusted CA on each browsers. This way you will not get any ssl error for https sites.

        Services that use same ssl port(tor, ultrasurf) will always fail.

        I am trying to do this but keep getting cert errors on my test machine. Have I done it right? I created an internal cert authority on pfsense and exported the certificate then installed the certificate in to the trusted root ca store of the test machine.

        edit: nevermind changing the certificate adapt setting seems to have resolved!

        Does this mean I can now enforce google safesearch without forcing no ssl?

        Also, what happens is there is a malicious man in the middle attack beyond pfsense?

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

          @bilbo:

          Also, what happens if there is a malicious man in the middle attack beyond pfsense?

          Certificate fails on client or server. It will depends on what certificate errors you configure to accept.

          It it's configured to do not accept, you receive a squid error page
          If It's configured to allow client decide, browser will complain about a "not trusted by CA" certificate error.

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

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • B
            bilbo
            last edited by

            That is excellent.

            I too however would like not to intercept for certain domains, I am using transparent mode and entering domains in the whitelist had no effect, I think someone else mentioned this somewhere.

            1 Reply Last reply Reply Quote 0
            • I
              ipis
              last edited by

              Hi marcelloc, kindly see attached file, I hope this is what we are looking for

              1.jpg
              1.jpg_thumb

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

                Any alternate link or mirror . below mentioned link is dead

                amd64
                http://e-sac.siteseguro.ws/pfsense/8/amd64/All/ldd/

                i386
                http://e-sac.siteseguro.ws/pfsense/8/All/ldd/

                Thanks for any info. require them urgently

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

                  @exograpix:

                  Any alternate link or mirror . below mentioned link is dead

                  amd64
                  http://e-sac.siteseguro.ws/pfsense/8/amd64/All/ldd/

                  i386
                  http://e-sac.siteseguro.ws/pfsense/8/All/ldd/

                  Thanks for any info. require them urgently

                  Anything is up and working with the links above.

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

                    @ipis:

                    Hi marcelloc, kindly see attached file, I hope this is what we are looking for

                    did you tried to whitelist the aborted sites( in red)?

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • I
                      ipis
                      last edited by

                      Yes i've tried. Its the akamai.net. Putting it to whitelist won't work, but if I try to put that address to source ip, the page is fixed again, but doing so will also bypass the block rule for all clients

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

                        The links are working thanks for the help.

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

                          Hi,

                          today I installed a test machine with pfsense 2.1 and squid3-dev + squidguard-squid3.
                          I added the files marcelloc posted in several threads here and squid seems to start without any issues.

                          My questions:
                          1.) I first installed squid3-dev and the squidguard-squid3. Will this contain the latest squid-3.3.8 version? Or does squidguard-squid3 uses older squid3 version?

                          2.) On squid3-dev GUI I only see OPT1, OPT2, …. interfaces and not the names I assigned them in GUI. I know that squid2 shows the "correct" names. Is this a bug or a feature in squid3-dev?  ;)

                          1 Reply Last reply Reply Quote 0
                          • I
                            ipis
                            last edited by

                            Hi marcelloc. How can i allow mobile apps to work, because most of the doctors in our organization is using facebook apps. also yahoo messenger. while our offices are not allowed to use what i mentioned. Thanks

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

                              @ipis:

                              Hi marcelloc. How can i allow mobile apps to work, because most of the doctors in our organization is using facebook apps. also yahoo messenger. while our offices are not allowed to use what i mentioned. Thanks

                              What you get on squid logs?

                              Did you tried to install pfsense ca certificate on your mobiles?

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

                              Help a community developer! ;D

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

                                Hello

                                Can you help on a big issue.

                                I have (in a lab):
                                Exchange 2013
                                Remote Desktop Gateway

                                The external FQDN is: toto.com

                                I have multiple web servers and mapping working correctly

                                The exchange server is working correctly

                                The SSL cert is self signed:
                                imported in pfsense
                                on exchange
                                on TS Gateway

                                I'm unable to connect to the gateway … sort of timedout.

                                If the gateway is directly redirected (80/443 nat to the correct IP) ... IT WORKS
                                If the gateway is accessed through reverse proxy ... DON'T WORKS

                                Any idea ?
                                It's driving me mad

                                Thanks

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

                                  I found the SOLUTION

                                  Create a web servers
                                  IP of the TSG
                                  https
                                  named rdc_443

                                  mapping
                                  group name rdc_443
                                  group description (url of the gateway)
                                  peers rdc_443
                                  URIs (this is the tricky part)
                                  ^https://yoururlgateway/rpcwithcert/rpcproxy.dll.$
                                  ^https://yoururlgateway/rpc/rpcproxy.dll.
                                  $

                                  DONE

                                  1 Reply Last reply Reply Quote 0
                                  • keyserK
                                    keyser Rebel Alliance
                                    last edited by

                                    @StantheWizard

                                    I think you and I discussed this Terminal Services Gateway Issue before since I wanted that to work as well.

                                    Are you saying it works now with the Squid 3.3.8-Dev package? (Using your additional instructions)?

                                    Can you upgrade from the Squid 3.1.20 package to the 3.3.8-dev, or do I need to recreate all the settings from square one again?

                                    -Keyser

                                    Love the no fuss of using the official appliances :-)

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

                                      @keyser:

                                      Can you upgrade from the Squid 3.1.20 package to the 3.3.8-dev, or do I need to recreate all the settings from square one again?

                                      Do not forget to check -dev dependences before upgrading.

                                      Most options are the same but I suggest you to check all tabs after upgrading it.

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

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • keyserK
                                        keyser Rebel Alliance
                                        last edited by

                                        Marcelloc

                                        How do i do the upgrade? i can't seem to find a way to click upgrade in the package manager, and the new one only offers to install (will that automatically upgrade the old one?)

                                        Love the no fuss of using the official appliances :-)

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

                                          uninstall squid3 and then install squid3-dev

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

                                          Help a community developer! ;D

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

                                            Nice work, it's a great addition to pfsense and works very well. Is this going to be implemented on the squid3 "normal" package too?

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