To get Squid and Dans Guardian:
apt-get install squid dansguardian
To backup the squid config file:
cp /etc/squid/squid.conf /etc/squid/squid.conf.bak
To make it transparent, uncomment this line from the squid.conf file:
http_port 127.0.0.1:3128 transparent
Add this on the next line:
http_port 8080
Next, backup the dansguardian config file using the following command:
cp /etc/dansguardian/dansguardian.conf /etc/dansguardian/dansguardian.conf.bak
Then change 8080 to 8081
Then change filtergroups to = 2 rather than the default of 1
You can then install the webmin module from:
http://internap.dl.sourceforge.net/sourceforge/dgwebminmodule/dg-0.5.10-pr5.wbm