DansGuardian is an award winning Open Source web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, HP-UX, and Solaris. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering. It does not purely filter based on a banned list of sites like lesser totally commercial filters.

DansGuardian is designed to be completely flexible and allows you to tailor the filtering to your exact needs. It can be as draconian or as unobstructive as you want. The default settings are geared towards what a primary school might want but DansGuardian puts you in control of what you want to block.

Now just in case you got the error I mentioned earlier, you're going to reinstall dansguardian and squid (this will then pick up the edited configs, and restart dansguardian) .. so back in the terminal run:

Nice Tutorial.I have DG up and running, no problem.BUTI need to form groups of users, per their IP address, and allow them Internet access, while blocking for example social_networking for IP1, but allowing it for IP2.Any ideas how to do this?My DG is 2.12.0.0, and I have CentOS 6U4.