Installing dansguardian for dummies




















Of course we also offer alternative formats for the most widely used third party plugins, such as DansGuardian and Squidguard. And while our blacklists are subscription based, they are as a result of our efforts, of a much higher degree of quality than the free alternatives.

Benjamin E. You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account.

You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Stay updated via RSS. Logon to the Server, and the First thing to do is install the Squid Proxy. Sudo apt-get install squid3 Then install Dansguardian Sudo apt-get install dansguardian No we need to edit the Dansguardain config. If that works for your network, all you need to do is change the tinyproxy port. Within each of these files, you can add phrases, sites, and URLs to be banned.

Let's say you want to ban the word woodchucks. To do so, open the bannedphraselist file and add the following at the bottom of the file:. Now, let's say you want to ban the site woodchucks. To do this, open the bannedsitelist file and add the following to the bottom:.

The above will block all pages from the site woodchucks. If you want to block only part of that site, say woodchucks. You need to configure the browsers on your network to use the content filtering proxy. To do this, you will set up the browsers to go through the content filtering system using the IP address of the machine hosting DansGuardian and use the port configured for both DansGuardian and tinyproxy.

Once you've done that, test the browser by pointing it to woodchucks. The browser should time out. If it does, make sure the browser can go to a non-blocked site such as TechRepublic. If the browser is blocked at woodchucks. He's covered a variety of topics for over twenty years and is an avid promoter of open source. The important thing about our setup is that our firewall and gateway are running on the same machine as Squid and DansGuardian are, in order to have transparent proxy capabilities.

Most options are self explanatory. Below you will find a fully working squid. The most important things from the above configuration that you need to change for your setup are the ones listed below:. Again, please consult the example squid. You might want to play a bit with these settings, if they do not match your requirements and raise the values. The first thing we need to do before starting Squid is to check our configuration if it contains any errors:.

If everything is OK we can proceed, otherwise you will need to check your squid. Now we need to initialize the cache directories of Squid. To do this simply execute the command below:. NOTE: If you are doing an upgrade of Squid you do not need to initialize the cache directories as they should be initialized already. If you have followed the handbook by this step you should have a fully working Squid transparent proxy server.



0コメント

  • 1000 / 1000