rendered paste body#
# SAMPLE CONFIG FILE FOR SQUIDGUARD
# (for further configuration options see the
# documentation and http://www.squidguard.org/)
#
dbhome /var/db/squidGuard
logdir /var/log
#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
time workhours {
weekly mtwhf 08:00 - 07:50
date *-*-01 08:00 - 07:50
}
#
# SOURCE ADDRESSES
#
source localnetwork-clients {
ip 192.168.1.2-192.168.1.124 # Rango desde 192.168.1.2 hasta 192.168.1.124
}
source allowhosts {
ip 192.168.1.1/24 # Servidor ALPHA
ip 192.168.1.125/24 # Graficacion1 (Gallo)
ip 192.168.1.126/24 # Graficacion2 (Alejandro)
ip 192.168.1.127/24 # Graficacion3 (Juan)
ip 192.168.1.250/24 # Servidor BRAVO
}
#
# DESTINATION CLASSES
#
dest ads {
domainlist ads/domains
urllist ads/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest drugs {
domainlist drugs/domains
urllist drugs/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest gambling {
domainlist gambling/domains
urllist gambling/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest hacking {
domainlist hacking/domains
urllist hacking/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest mail {
domainlist mail/domains
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest porn {
domainlist porn/domains
urllist porn/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest proxy {
domainlist proxy/domains
urllist proxy/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest redirector {
domainlist redirector/domains
urllist redirector/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest spyware {
domainlist spyware/domains
urllist spyware/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest suspect {
domainlist suspect/domains
urllist suspect/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest violence {
domainlist violence/domains
urllist violence/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest warez {
domainlist warez/domains
urllist warez/urls
redirect http://alpha.telemedellin.tv/mensaje.html
}
dest expressions {
expressionlist expressions/expressions
redirect http://alpha.telemedellin.tv/mensaje.html
}
# Listado personalizado de direcciones
dest nuevas {
domainlist nuevas/domains
redirect http://alpha.telemedellin.tv/mensaje.html
}
# Listado personalizado de direcciones permitidas
dest permitidas {
domainlist permitidas/domains
}
#
# ACL
#
acl {
allowhosts {
pass all
redirect http://alpha.telemedellin.tv/mensaje.html
}
localnetwork-clients {
pass permitidas !nuevas !expressions !porn !proxy !spyware !warez all
redirect http://alpha.telemedellin.tv/mensaje.html
}
default {
pass none
redirect http://alpha.telemedellin.tv/mensaje.html
}
}
# Notas:
# !ads bloquea los logos de por ejemplo www.elcolombiano.com
# !nosecual bloquea los logos de por ejemplo www.????.com