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

    Unofficial E2guardian package for pfSense

    Scheduled Pinned Locked Moved Cache/Proxy
    1.2k Posts 70 Posters 1.4m 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.
    • Sei PineS
      Sei Pine @pfsensation
      last edited by

      @pfsensation ah i see! I was only using local users lmao. I'll try to configure freeradius first, thanks for the info!

      1 Reply Last reply Reply Quote 0
      • P
        plusbil @pfsensation
        last edited by

        @pfsensation said in Unofficial E2guardian package for pfSense:

        Clear the logs file manually, restart E2 Guardian and let me know what you've got your log rotate settings set as. It's been brilliant for me and working without any issues.

        It's been five day. It working for now. I'il try when there's a problem. Thanks...

        1 Reply Last reply Reply Quote 0
        • R
          ravegen @pfsensation
          last edited by

          @pfsensation

          @ravegen said in Unofficial E2guardian package for pfSense:

          @pfsensation ,

          Is there a progress on the content scanner fix ?

          What is our update on this ?

          P 1 Reply Last reply Reply Quote 0
          • P
            pfsensation @ravegen
            last edited by

            @ravegen said in Unofficial E2guardian package for pfSense:

            @pfsensation

            @ravegen said in Unofficial E2guardian package for pfSense:

            @pfsensation ,

            Is there a progress on the content scanner fix ?

            What is our update on this ?

            Nothing yet unfortunately. @marcelloc Have you had a chance now to take a look at this problem?

            1 Reply Last reply Reply Quote 0
            • fabricioguzzyF
              fabricioguzzy
              last edited by

              UPDATE

              Hello folks,
              I´ve been testing E2Guardian+SQUID with SSO NTLM and it is working REALLY fine.
              There are some small/cosmetic issues, but at all, it's working fine.
              Issues that I could get so far:
              *The LDAP search group/users mechanism has some issues. It seems the script created by the package (see crontab) doesn't have the proper env setting. I tested it assing "sh -c" in front of it, and it resolved the issue.
              *The e2guardian service sometimes got stuck.the GUI start/stop/restart icons doesn't work and you have to kill the PID from shell console. It seems it's something related to the "save/apply" process after the LDAP update script runs. I am still investigating.

              The e2guardian is "really" better than "squidguard" - There is no comparison! Forget about squidguard,

              Hope that helps,
              Fabricio.

              P S 2 Replies Last reply Reply Quote 0
              • P
                pfsensation @fabricioguzzy
                last edited by

                @fabricioguzzy said in Unofficial E2guardian package for pfSense:

                UPDATE

                Hello folks,
                I´ve been testing E2Guardian+SQUID with SSO NTLM and it is working REALLY fine.
                There are some small/cosmetic issues, but at all, it's working fine.
                Issues that I could get so far:
                *The LDAP search group/users mechanism has some issues. It seems the script created by the package (see crontab) doesn't have the proper env setting. I tested it assing "sh -c" in front of it, and it resolved the issue.
                *The e2guardian service sometimes got stuck.the GUI start/stop/restart icons doesn't work and you have to kill the PID from shell console. It seems it's something related to the "save/apply" process after the LDAP update script runs. I am still investigating.

                The e2guardian is "really" better than "squidguard" - There is no comparison! Forget about squidguard,

                Hope that helps,
                Fabricio.

                Most of us have known or have come to know how much of a broken mess SquidGuard is. E2 Guardian filtering is much more advanced and granular.

                I suggest you report the issues on the E2 Guardian Github page for quicker response/fixes. Thank you for the update, and I'm glad you've got it working with LDAP!

                fabricioguzzyF 1 Reply Last reply Reply Quote 0
                • fabricioguzzyF
                  fabricioguzzy @pfsensation
                  last edited by

                  @pfsensation hi there!

                  It seems the issue is related to the pfsense package only (Web GUI -PHP code). There is nothing wrong with the E2guardian binary package at all, so, I could not report it at the e2guardian forum I guess.
                  Anyway, YES, people should simply forget about squidguard... I am very happy and excited with the results of E2guardian as a Content Filter and etc.
                  Still investigating the issues with the service/ldap package.

                  Thanks!
                  Fabricio.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    pfsensation @fabricioguzzy
                    last edited by

                    @fabricioguzzy said in Unofficial E2guardian package for pfSense:

                    @pfsensation hi there!

                    It seems the issue is related to the pfsense package only (Web GUI -PHP code). There is nothing wrong with the E2guardian binary package at all, so, I could not report it at the e2guardian forum I guess.
                    Anyway, YES, people should simply forget about squidguard... I am very happy and excited with the results of E2guardian as a Content Filter and etc.
                    Still investigating the issues with the service/ldap package.

                    Thanks!
                    Fabricio.

                    Sorry, I meant @marcelloc has his own Github page for E2 Guardian on pfSense issues.

                    fabricioguzzyF 1 Reply Last reply Reply Quote 0
                    • S
                      susamlicubuk @fabricioguzzy
                      last edited by

                      @fabricioguzzy said in Unofficial E2guardian package for pfSense:

                      UPDATE

                      Hello folks,
                      I´ve been testing E2Guardian+SQUID with SSO NTLM and it is working REALLY fine.
                      There are some small/cosmetic issues, but at all, it's working fine.
                      Issues that I could get so far:
                      *The LDAP search group/users mechanism has some issues. It seems the script created by the package (see crontab) doesn't have the proper env setting. I tested it assing "sh -c" in front of it, and it resolved the issue.
                      *The e2guardian service sometimes got stuck.the GUI start/stop/restart icons doesn't work and you have to kill the PID from shell console. It seems it's something related to the "save/apply" process after the LDAP update script runs. I am still investigating.

                      The e2guardian is "really" better than "squidguard" - There is no comparison! Forget about squidguard,

                      Hope that helps,
                      Fabricio.

                      Can you share a screenshot of sso ntlm settings?

                      fabricioguzzyF 1 Reply Last reply Reply Quote 0
                      • fabricioguzzyF
                        fabricioguzzy @susamlicubuk
                        last edited by fabricioguzzy

                        @susamlicubuk
                        Sure. Here it goes.

                        Keep in mind that I have it like: USER --> E2Guardian --> SQUID --> INTERNET
                        I have SAMBA in the background (for NTLM)

                        Here E2Guardian Config:

                        2_1548258169718_e2guard-ntlm-option.JPG 1_1548258169717_e2guard-Misc-settings.JPG 0_1548258169715_e2guard-advanced-features.JPG

                        Here SQUID Config:

                        0_1548258244944_squid-adv-config-auth.JPG

                        S 1 Reply Last reply Reply Quote 0
                        • fabricioguzzyF
                          fabricioguzzy @pfsensation
                          last edited by

                          @pfsensation -
                          I will contact him for sure. I thought he was writing here to the forum only.
                          Thanks for the heads up!!

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

                            @fabricioguzzy said in Unofficial E2guardian package for pfSense:

                            @susamlicubuk
                            Sure. Here it goes.

                            Keep in mind that I have it like: USER --> E2Guardian --> SQUID --> INTERNET
                            I have SAMBA in the background (for NTLM)

                            Here E2Guardian Config:

                            2_1548258169718_e2guard-ntlm-option.JPG 1_1548258169717_e2guard-Misc-settings.JPG 0_1548258169715_e2guard-advanced-features.JPG

                            Here SQUID Config:

                            0_1548258244944_squid-adv-config-auth.JPG

                            How are your groups section and your users partition settings?
                            Please display the screenshot
                            Can you share the samba settings?

                            fabricioguzzyF 1 Reply Last reply Reply Quote 0
                            • fabricioguzzyF
                              fabricioguzzy @susamlicubuk
                              last edited by

                              @susamlicubuk

                              there you go:

                              USERS:
                              5_1548263239109_users2.JPG

                              4_1548263239107_users1.JPG

                              SAMBA smb.conf file (replace DOMAIN and DOMAIN.CORP by your actual DOMAIN name)
                              3_1548263239106_samba-ntlm.JPG
                              GROUPS: (in the "masked" LDAP line, you add your Active Directory Server hostname)
                              2_1548263239106_groups3.JPG
                              1_1548263239105_groups2.JPG
                              0_1548263239104_groups1.JPG

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

                                PfSense 2.4.4p2+E2Guardian5 system. Wifi network, whatsapp voice call or video call not working. Realtime log, Tcp_dump/403 https://127.0.0.1

                                But E5Guardian SSL support disable; smoothly working.

                                Why?

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pfsensation @plusbil
                                  last edited by

                                  @plusbil said in Unofficial E2guardian package for pfSense:

                                  PfSense 2.4.4p2+E2Guardian5 system. Wifi network, whatsapp voice call or video call not working. Realtime log, Tcp_dump/403 https://127.0.0.1

                                  But E5Guardian SSL support disable; smoothly working.

                                  Why?

                                  Age old issue of SSL pinning, apps reject any certs other than the one baked in by the app dev when they built the app. This is to try mitigate the MITM attacks, which is what E2 Guardian does.

                                  Just make an alias to let Whatsapp bypass E2 Guardian altogether.

                                  1 Reply Last reply Reply Quote 1
                                  • P
                                    plusbil
                                    last edited by plusbil

                                    @pfsensation said in Unofficial E2guardian package for pfSense:

                                    Just make an alias to let Whatsapp bypass E2 Guardian altogether.

                                    Hmmm, thank you.

                                    https://github.com/ukanth/afwall/wiki/HOWTO-blocking-WhatsApp

                                    Is the list up to date?

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      pfsensation @plusbil
                                      last edited by

                                      @plusbil said in Unofficial E2guardian package for pfSense:

                                      @pfsensation said in Unofficial E2guardian package for pfSense:

                                      Just make an alias to let Whatsapp bypass E2 Guardian altogether.

                                      Hmmm, thank you.

                                      https://github.com/ukanth/afwall/wiki/HOWTO-blocking-WhatsApp

                                      Is the list up to date?

                                      It's from 2015 so no, just do a packet capture and find the domains it uses. That's what I did to get it working, I tried to post a few of them for you here but it got detected as spam.

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

                                        @pfsensation said in Unofficial E2guardian package for pfSense:

                                        It's from 2015 so no, just do a packet capture and find the domains it uses. That's what I did to get it working, I tried to post a few of them for you here but it got detected as spam.

                                        I did. Just one address, 54.93.x.x. I opened it for now, it works. I'm gonna have to try, occasionally. :) Thanks...

                                        1 Reply Last reply Reply Quote 0
                                        • U
                                          User43617
                                          last edited by User43617

                                          I just spun up a new pfSense machine using E2guardian. I was using squid/squidguard in the old firewall. There are quite a few nuances that I don't understand. It was pretty simple to block or allow sites as needed. I think I've figured out how to add new sites to block but am not having success getting them to bypass the filter. I have a camera system that keeps getting blocked with NETERROR as the reason. I've tried adding the source IP to the exceptions in the IP config and the site to ACL/site lists but no change. How does one enter a site to be bypassed?

                                          *edit: It looks like it tries to connect then I see a log entry like this:
                                          192.168.1.x https://127.0.0.1 403 Default NETERROR -

                                          P 1 Reply Last reply Reply Quote 0
                                          • K
                                            kenrutt
                                            last edited by

                                            If you are using transparent proxy and you want any addresses to completely bypass e2guardian, there are places under the Daemon tab in the transparent section to enter bypass ip's.

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