Squid + Dans Guardian Presentation
Diagram of Squid/Dans Guardian Network

1. Install Squid -- yum install squid
2. Test Squid
3. Configure Squid to listen on loopback adapter
4. Download Dans Guardian
5. Install Dan's Guardian

	useradd dansguardian
	change shell for user dansguardian to /sbin/nologin in /etc/passwd
	yum install zlib-devel
	tar -xvzf dansguardian.tar.gz
	cd dansguardian
	./configure --with-proxyuser=dansguardian and --with-proxygroup=dansguardian
	make && make install
	cp data/scripts/systemv-init /etc/init.d/dansguardian
	chmod +x /etc/init.d/dansguardian
	chown dansguardian:dansguardian /usr/local/var/log/dansguardian/

6. Configure to automatically start, configure iptables to allow connections, activate changes, activate squid and dansguardian
	chkconfig --levels 2345 squid on
	chkconfig --levels 2345 dansguardian on
	add "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT" to /etc/sysconfig/iptables
	/etc/init.d/iptables restart
	/etc/init.d/squid restart
	/etc/init.d/dansguardian restart

6. Configure Dan's Guardian to connect to squid, listen on network, and adjust rules
	vi /usr/local/etc/dansguardian/lists/bannedphraselists

7. Profit