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

    Dansguardian package for 2.0

    Scheduled Pinned Locked Moved pfSense Packages
    492 Posts 51 Posters 468.3k 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.
    • F
      fiftyheight
      last edited by

      hi all
      I have a bug here:

      in access list, when I am in URL tab, and then I click on Content tab, it goes to Extension tab

      Can someone reproduced this ?

      bye
      Julien

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

        @fiftyheight:

        in access list, when I am in URL tab, and then I click on Content tab, it goes to Extension tab

        Thank's for the feedback Julien

        It's fixed now.
        To apply this patch, just reinstall the package or apply the changes to dansguardian_url_acl.xml

        https://github.com/bsdperimeter/pfsense-packages/commit/5e02cb482cd5bc25eaac17e7af33c4039390ed33

        att,
        Marcello Coutinho

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • F
          fiftyheight
          last edited by

          thank's Marcello for you're quick response, it's fixed after reinstalling the package

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

            version 0.1.5.4 of dansguardian package is out

            Changes:

            • fix content xml call in dansguardian_url_acl.xml file

            • Includes exceptioniplist missing field on ip tab.

            att,
            Marcello Coutinho

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

            Help a community developer! ;D

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

              Maybe i missed out on all of this, but how do you access the logs created by Dansguardian.  Also the funny thing is clicking reply showed up as pornographic.  :o

              Thanks.

              Again i surprise myself. Figured it all out.

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

                @pman860507:

                Maybe i missed out on all of this, but how do you access the logs created by Dansguardian.

                using console/ssh, exec tail -f /var/log/dansguardian/access.log

                @pman860507:

                Also the funny thing is clicking reply showed up as pornographic.  :o

                Just whitelist it  ;)

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

                Help a community developer! ;D

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

                  I'm very new to proxies and running content filtering via servers, but I want to try. Can someone please tell me step-by-step (sorry for needing the newbie run down) how to set up squid + squidguard + dansguardian? (32-bit system)

                  From what I've read, squidguard is more customizable/configurable as far as ACLs (with respect to users, subnets, etc), but I really want content filtering instead of just URL filtering.

                  Thanks in advance!

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

                    test dansguardian + squid packages first.

                    Dansguardian default install creates almost 90% of default configuration, you will get a running filter with few steps:

                    • Install squid2, enable service on loopback port 3128)

                    • Install dansguardian package, enable service on port 8080

                    • Create a firewall rule on lan to enable access to lan address port 8080

                    • configure client proxy to use dansguardian ip/port

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

                    Help a community developer! ;D

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

                      Thanks for the quick response. If I have two NICs (subnets) one for the adults and one for the kids, I read with the squidguard that it's very easy to make different blacklists per subnet or user. How easy is that to do with dansguardian? Also, would I need to make a firewall rule on each NIC allowing access to LAN port 8080?

                      Now the really dumb questions… where do I get the dansguardian package? When you say configure client proxy is that the browser on all users computers?? I don't want to have to manually adjust settings on all computers.

                      Thanks again!

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

                        @broncoBrad:

                        How easy is that to do with dansguardian?

                        Just create groups based on ip addresses/subnets and select ip based auth

                        @broncoBrad:

                        Also, would I need to make a firewall rule on each NIC allowing access to LAN port 8080?

                        Yes.

                        @broncoBrad:

                        where do I get the dansguardian package?

                        just go on system -> packages and install it.

                        @broncoBrad:

                        When you say configure client proxy is that the browser on all users computers?? I don't want to have to manually adjust settings on all computers.

                        Transparent proxy can only filter http but not https.

                        You can configure it using proxy wpad/pac settings on dns/dhcp

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

                        Help a community developer! ;D

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

                          @marcelloc:

                          Transparent proxy can only filter http but not https.

                          is the ssl stuff already working?

                          thanks

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

                            @elemay:

                            is the ssl stuff already working?

                            No, we are still on the same point. Dansguardian tries to intercept but client rejects it's certificate.

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

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • J
                              jai23155
                              last edited by

                              i have installed Dansguardian but its not showing up in services or anywhere else apart from installed packages. i am using latest pfsense. any idea? thanks

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

                                @jai23155:

                                any idea?

                                If its not on services-> dansguardian, try to reinstall it.

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

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wheelz
                                  last edited by

                                  I've had to drop this for a while (new baby and all) but I had someone asking about the SSO for dansguardian.  Hopefully I'll be able to revisit it and provide a howto for everyone, though it may be a little while.

                                  Marcelloc, did you ever get that patch from dansguardian working that would fix the bug about not being able to use multiple authplugins?

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

                                    So couple questions… the first being that I was told in this thread to install Squid2, but I don't see Squid2 I only see Squid3 but it says it's a beta version. Is there still a Squid2 available?

                                    Next thought, I don't understand the configuration of using the proxy. From the last response, I assume there is no firewall rule needed for using the proxy, but is there anything else in pfsense besides the loopback address at port 3128 that I would need to set up? Where is the setup for that loopback on port 3128 done?

                                    Another thought, again sorry for the newbie questions, is the proxy automatically run on ALL NICs of pfsense because it's the interface to the WAN yes? Is there any way I can select which NICs the proxy is run on?

                                    Last thought, with the firewall rules: Normal access on the KIDS opt interface I have a single rule that says allow any from KIDS net to any. Would that rule still exist or do I need to change that rule to only allowing on port 8080 to use dansguardian correctly? Does that question make sense?

                                    Thanks again in advance!

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

                                      @wheelz:

                                      Marcelloc, did you ever get that patch from dansguardian working that would fix the bug about not being able to use multiple authplugins?

                                      Not yet, I've tried once without success. Next month maybe I'll have time to test it again.

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

                                      Help a community developer! ;D

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

                                        i have installed Dansguardian but its not showing up in services or anywhere else apart from installed packages. i am using latest pfsense. any idea? thanks

                                        Sam error here. I already reinstalled the whole package (2.12.0.0 pkg v.0.1.5.4 ) and just reinstalled the gui components from package management. Still no luck!
                                        I have also installed Squid (2.7.9 pkg v.4.3.1 ) and  Sarg (2.3.2 pkg v.0.5 )

                                        Any suggestions?

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

                                          Tried to completely reinstall pfsense from scratch, imported my config and reinstalled 1) squid and 2) dansguardian. Both installation run without errors - but still no menu entry from dansguardian.
                                          Anyone can help us?

                                          dans.jpg
                                          dans.jpg_thumb

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

                                            Anybody? Any thoughts on my August 20th post?

                                            Thanks!

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