Censorware
From Superuser Wiki
For our censorware system we will use DansGuardian in conjunction with a web proxy called Squid.
For managing our system we will use webmin.
Install the packages:
sudo apt-get install webmin squid dansguardian
Download the Dansguardian Webmin module
Download the Squid Webmin module
Edit the /etc/dansguardian/dansguardian.conf file, comment out UNCONFIGURED
# Comment this line out once you have modified this file to suit your needs #UNCONFIGURED
and change the filter port from 8080 to 8081
# the port that DansGuardian listens to. filterport = 8081
Restart Dansguardian
chris@edubuntu:~$ sudo /etc/init.d/dansguardian restart
Start Webmin
chris@edubuntu:~$ sudo /etc/webmin/start
Webmin Login
Select Webmin Configuration > Webmin Modules.
Then Install Module from local file and browse to the Dansguardian and Squid Module and Select Install Module.
Then choose Webmin Index > Servers > Squid Proxy Server and initialise the cache as user Nobody and then Start Squid.
Return to Index and Select Dansguardian. View/Edit files and View/Edit groups to configure a range of filtering options.
Restart DG when you have finished.
If you have problems viewing logs you may need to install the following perl module. http://www.cpan.org/authors/id/PMQS/Compress-Zlib-1.16.tar.gz
Choose Webmin Index > Others > Perl Modules > Install from local file and browse to the file and select install.
To configure Firefox web browser to use your proxyfilter select Edit Preferences General Connection settings.
Tick the manual configuration box and enter Http Proxy localhost and Port 8081