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

    Cannot get DansGuardian to work on pfSense 2.0.2

    Scheduled Pinned Locked Moved pfSense Packages
    10 Posts 2 Posters 3.8k 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.
    • B
      bramqu
      last edited by

      Hi,

      first of all: I am new to Dansguardian. I want content filtering on my internetconnection and that's why I installed the package on a working pfSense setup. However; after following the post on http://forum.pfsense.org/index.php?topic=47856.0 I still cannot internet when i setup port 8080 as a proxy in my browser let alone set it up as a transparent proxy (which is my goal). Can anyone tell me what I might do wrong ?

      Thanks in advance!

      Bram

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

        dansguardian requires squid installed too, what squid version are you using?

        can you try to start it on console/ssh to see if there are startup erros?

        Did you configured all dansguardian tabs?

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

        Help a community developer! ;D

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

          Hi Marcelloc,

          thanks for taking your time to reply!
          Well all I want is the content filter, not so badly the web caching feature. But if you say I need it then I will install it:)
          I do not really understand all the info on the rest of the tabs. The problem is that I cannot find good documentation about setting up dansguardian on pfSense. Or is it somewhere to be found ?

          Please let me know ! I would be very happy with adding this content filter to pfsense for free content filtering :D

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

            Ok so I installed Squid and I can browse the internet through port 3128. There is no filtering yet on websites (typed in a 'bad' site and unfortunately I was able to reach that) but that's probably cause this is the port from Squid for caching and I have to use 8080 for content filtering from Dansguardian ? Cause when I use 8080 I'm not able to reach any site but that can probably be resolved by setting up NAT forwards.

            Any idea how I can get port 8080 from Dansguardian to work ?

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

              dansguardian needs a cache server to forward requests to.

              configure it to forward to squid on the first package config file.

              users -> dansguardian -> squid -> internet

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

              Help a community developer! ;D

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

                Ok I got it to work! But I cannot browse the internet. Google is about the only site that works without issues but all the other sites just won't load. Any idea ? Is this default behaviour for Dansguardian or Squid ?

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

                  you need to see log files.

                  on option on squid 3 that fix https is dn_v4_first

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

                  Help a community developer! ;D

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

                    Where can I find the logfiles ? And I installed the Squid package, not Squid3. Do I need to install this to work properly ?

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

                      @bramqu:

                      Where can I find the logfiles ? And I installed the Squid package, not Squid3. Do I need to install this to work properly ?

                      You can choose what squid version to use.

                      dansguardian log files dir: /var/log/dansguardian
                      squid log files if enabled on gui: /var/squid/logs

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

                      Help a community developer! ;D

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

                        Thanks I will check that out!

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