Dansguardian Groups

Editar
sudo nano /etc/dansguardian/dansguardian.conf
Buscar
filtergroups = 1
filtergroupslist = ‘/etc/dansguardian/lists/filtergroupslist’
Remplazar por el numero de grupos que deseas
filtergroups = 5
filtergroupslist = ‘/etc/dansguardian/lists/filtergroupslist’

Descomentar
authplugin = ‘/etc/dansguardian/authplugins/ip.conf’

Ponle nombre a tus filtros
nano /etc/dansguardian/lists/filtergroupslist
User1=filter1
User2=filter2
User3=filter3
listanegra=filter4
listablanca=filter5

Agregar los filtros a las ip o rangos de ip que deseas
sudo nano /etc/dansguardian/authplugins/ip.conf’
190.167.0.15 = filter1
190.167.0.16 = filter2
190.167.0.17 = filter3
190.167.0.18 = filter4
190.167.0.19 = filter5

Copia los archivos de configuración que utilizaras en los nuevos grupos
sudo cp /etc/dansguardian/dansguardianf1.conf /etc/dansguardian/dansguardianf2.conf
sudo cp /etc/dansguardian/dansguardianf1.conf /etc/dansguardian/dansguardianf3.conf
sudo cp /etc/dansguardian/dansguardianf1.conf /etc/dansguardian/dansguardianf4.conf
sudo cp /etc/dansguardian/dansguardianf1.conf /etc/dansguardian/dansguardianf5.conf

edita
sudo nano /etc/dansguardian/dansguardianf1.conf

Remplaza
groupname = ”
por
groupname = ‘filter1’

edita
sudo nano /etc/dansguardian/dansguardianf2.conf

Remplaza
groupname = ”
por
groupname = ‘filter2’

edita
sudo nano /etc/dansguardian/dansguardianf3.conf

Remplaza
groupname = ”
por
groupname = ‘filter3’

edita
sudo nano /etc/dansguardian/dansguardianf4.conf

Remplaza
groupname = ”
por
groupname = ‘listanegra’

edita
sudo nano /etc/dansguardian/dansguardianf5.conf

Remplaza
groupname = ”
por
groupname = ‘listablanca’

copia
sudo cp /etc/dansguardian/lists /etc/dansguardian/lists2
sudo cp /etc/dansguardian/lists /etc/dansguardian/lists3
sudo cp /etc/dansguardian/lists /etc/dansguardian/lists4
sudo cp /etc/dansguardian/lists /etc/dansguardian/lists5

Editar
nano /etc/dansguardian/lists5/bannedsitelist

remplaza
#Blanket Block. To block all sites except those in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a ‘**’:
#**

#Blanket SSL/CONNECT Block. To block all SSL
#and CONNECT tunnels except to addresses in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a ‘**s’:
#**s

por

#Blanket Block. To block all sites except those in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a ‘**’:
**

#Blanket SSL/CONNECT Block. To block all SSL
#and CONNECT tunnels except to addresses in the
#exceptionsitelist and greysitelist files, remove
#the # from the next line to leave only a ‘**s’:
**s

editar
nano /etc/dansguardian/lists5/exceptionsitelist

agregar
debian.tallerdigitalvw.com

sudo /etc/init.d/dansguardian restart

Esta entrada fue publicada en Dansguardian. Guarda el enlace permanente.

Deja un comentario