Install And Configuration Web Content Filtering On Ubuntu Jaunty (9.04)



DansGuardian provides web filtering capability, similar to NetNanny. It is useful for limitng objectionable content in publicly accessible workstations, or for filtering objectionable content for younger users. It integrates with ClamAV, and uses several criteria for filtering websites (which is difficult to modify). It is used with Tinyproxy (best for individual users) or the Squid proxy (best for a network server). Install:

$ sudo apt-get install dansguardian tinyproxy

or

$ sudo apt-get install dansguardian squid

See these installation instructions for setup details. In brief,
  • Edit the dansguardian configuration file:
sudo nano /etc/dansguardian/dansguardian.conf

comment out the UNCONFIGURED line:
#UNCONFIGURED
If using tinyproxy instead of Squid, change the proxyport to 8888:
proxyport 8888

  • Reinstall dansguardian:
$ sudo apt-get install --reinstall dansguardian
  • Set your browser to use the localhost:8080 proxy. For example, in Firefox:
  • Firefox -> Edit -> Preferences -> Advanced -> Network -> Settings
  • Manual proxy configuration -> HTTP proxy: localhost -> Port: 8080
  • A Webmin module is available to administer settings. Also, a GUI to change Dansguardian settings called Webstrict is in development.

Happy Testing...!!

Sources :

http://ubuntuguide.org/wiki/Ubuntu:Jaunty

No comments:

Post a Comment

Please Comment...!!