Seeing as works DansGuardian groups (DG) from pfsense, I made a bash script that does similarly for those who do not use GUI for managing DG.
The script is available as free software (Pull Requests are welcome):
https://github.com/Richzendy/DGroups.sh
[getgit repoid=”DGroups.sh” userid=”Richzendy” path=”DGroups.sh” language=”bash”]