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 71 Posters 1.7m 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

      I've pushed a comiled package with code until commit bc7890a.

      Seems to be working without latest patches for ssl on http1.1

      version on repo:
      e2guardian-5.0.2_7.txz

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

      Help a community developer! ;D

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

        @marcelloc:

        I've pushed a comiled package with code until commit bc7890a.

        Seems to be working without latest patches for ssl on http1.1

        version on repo:
        e2guardian-5.0.2_7.txz

        I knew that would be the issue!!! Great work! Now to find out why the new OpenSSL is giving this rather odd problem.

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

          hi

          do we need more time in our actual use of this package

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

            Hi
            with which program the reports are displayed

            Lighsquid?
            Squidanlyzer?

            how to config?

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

              @landforces:

              hi

              do we need more time in our actual use of this package

              What do you mean? It's working now, I've had to learn how the configs work etc. But it seems to be working fine.

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

                @landforces:

                Hi
                with which program the reports are displayed

                Lighsquid?
                Squidanlyzer?

                how to config?

                Lightsquid

                If you are using e2guardian without squid, Apply this patch after lightsquid install.

                fetch -o /usr/local/pkg/lightsquid.inc http://e-sac.siteseguro.ws/lightsquid/inc.txt

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

                Help a community developer! ;D

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

                  Hi

                  i made an error ı get an error
                  press save button

                  ligy.PNG
                  ligy.PNG_thumb

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

                    Apply the patch on lightsquid first.

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

                    Help a community developer! ;D

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

                      Hi marcello

                      I think I'm doing something wrong

                      step-by-step screenshot

                      2312.PNG
                      2312.PNG_thumb
                      ligy.PNG
                      ligy.PNG_thumb
                      sorub.PNG
                      sorub.PNG_thumb

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

                        @landforces:

                        Hi marcello

                        I think I'm doing something wrong

                        step-by-step screenshot

                        Change the E2 Guardian reporting to Squid format and enable second denied log.

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

                          Hi my friend

                          pfsensation thank you so much lighsquid is Okey

                          I have one last problem

                          E2guardian how firewall rules should be PFSense does not work properly when restarting the machine

                          Rule1.PNG
                          Rule1.PNG_thumb
                          rule2.PNG
                          rule2.PNG_thumb

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

                            @landforces:

                            Hi my friend

                            pfsensation thank you so much lighsquid is Okey

                            I have one last problem

                            E2guardian how firewall rules should be PFSense does not work properly when restarting the machine

                            Try changing that to source "Lan net" and destination to the IP of the firewall. Make sure you have services such as DNS resolver correctly configured.

                            Also I wouldn't recommend removing the anti lockout rule or the default rules, it could help you a lot of you're new to networking…  If you really want to force all traffic through the proxy, just make a rule on top of the rest. Remember the order of the rule goes from top to bottom.

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

                              Hi
                              is not the correct rule rule2 picture? I'm asking because some sources are different
                              for example, the expression here is in the form of rules everywhere for Lan net

                              https://www.youtube.com/channel/UCMjE1d9qiuLr7ldeIUM7AvA?spfreload=5

                              I really want to do how are your rules? you share

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

                                If you select the transparent mode, rules will be loaded by the package on pf automatically.

                                If you want to know what rules you need to allow e2guardian in non transparent mode, then it's easy. Just allow your lan net to e2guardian port. Default port on package is 8080.
                                In transparent mode it uses a second port for SSL interception 8081.

                                The video you post is based on e2guardian v4 and has a lot of config errors. On pfSense 2.4, you do not need squid package to get e2guardian up and running.

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

                                Help a community developer! ;D

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

                                  hi Marcello

                                  I use it in transparent mode

                                  I have created these rules and I am new to

                                  f you make a nice installation videos more of you

                                  newrule.PNG
                                  newrule.PNG_thumb

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

                                    Good news for those that are still on 2.3.x.

                                    I could get e2guardian5 up and running on 2.3.5 test vm too and updated the amd64 repo.

                                    Important note:

                                    As I have this running in production only on 2.4 boxes, test it first on labs.

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

                                    Help a community developer! ;D

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

                                      @marcelloc:

                                      Good news for those that are still on 2.3.x.

                                      I could get e2guardian5 up and running on 2.3.5 test vm too and updated the amd64 repo.

                                      Important note:

                                      As I do not have this running in production only on 2.4 boxes, test it first on labs.

                                      Or… People should just upgrade to 2.4. It brings about a lot of fixes... :P

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

                                        Thanks Marcello for making that last update avalable for E2gurdian 5. Things started working again.
                                        One question I would have, is the "Content List" working? Everything else seems to be working
                                        except the "Content List"

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

                                          Hello Marcello
                                          I could not run MultiWan
                                          LAN1 to wan1 and LAN2 to WAN2 firewall rules do not work

                                          for example with squid we could do multiwan with the following Advanced Features-Custom Options (Before Auth)
                                          acl LAN1 src 192.168.1.0/24
                                          tcp_outgoing_address (wan1ip) LAN1
                                          acl LAN1 src 192.168.2.0/24
                                          tcp_outgoing_address (wan2ip) LAN2
                                          I added it to squidparent.conf but it does not work

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

                                            Did you reloaded squid parent after config changes?

                                            The squid daemon package installs is the same of squid package, so if you selected automatic parent config and add squid config to squid parent conf file it should work.

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

                                            Help a community developer! ;D

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