Origineel geplaatst door Niek
Hoi capedro,
Je kent me misschien wel van NOS (/me = The_Surfer @ GoT)

Ik wist niet dat er hier GoT-ers rondzwierfen (<- is dat eingelijk wel goed Nederlands

)
Ontopic: erg goede tip is dit. Ik wist absoluut niet dat er een Open Source programma was dat dit kon. Als het het goed begrijp is het gewoon een add-on voor Squid (die ik al draai

)? Ik ga het iig zeker proberen
SquidGuard is idd een "add-on" :O
Hier vind je een deel van mijn
/etc/squid.conf
[/code]
# TAG: redirect_program
# Specify the location of the executable for the URL redirector.
# Since they can perform almost any function there isn't one included.
# See the Release-Notes for information on how to write one.
# By default, a redirector is not used.
#
redirect_program /usr/bin/squidGuard -c /var/squidGuard/squidGuard.conf -d
[/code]
Tevens heb je een
squidGuard.conf:
Code: Selecteer alles
logdir /var/squidGuard/logs/
dbhome /var/squidGuard/db/blacklist
src internal {
ip 192.168.0.0/24
}
dest porn {
domainlist porn/domains
urllist porn/urls
expressionlist porn/expressions
}
dest drugs {
domainlist drugs/domains
urllist drugs/urls
}
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
}
dest nl_porn {
domainlist nl/domains
}
dest allowed_domains {
domainlist allow/domains
}
acl {
internal {
pass !nl_porn !porn !drugs !aggressive allowed_domains all
#pass none
redirect http://www.adslweb.net/proxy/
blocked.php?clientaddr=%a&clientname=%
n&clientident=%i&clientgroup=%s&destinationgroup=%t&url=%u
}
default {
pass none
redirect http://192.168.0.110
}
}
Doe er je voordeel me!
[Veranderd op 13/7/02 door Admin]
[Veranderd op 13/7/02 door Admin]