I have already edited the file
/var/ipcop/urlfilter/Squidguard.conf
for creating custom rules, 

However when I add the rules, it stops filtering and get unrestricted access..

Here is an extract of my squidguard.conf file, could you please have a
look on it?

Thanks in advance


-------------><---------------------
time todoeldia {
weekly * 00:00-23:59
}

time noche {
weekly * 18:00-22:00 # manhana
}

src gr0 { ip 2.8.0.2-2.8.0.50 }
src gr50 { ip 2.8.0.51-2.8.0.100 }
src gr100 { ip 2.8.0.101-2.8.0.150 }
src gr150 { ip 2.8.0.151-2.8.0.200 }
src gr200 { ip 2.8.0.201-2.8.0.255 }

dest gobierno {
domainlist custom/allowed/gobierno
}

dest otros {
domainlist custom/allowed/otros
}


acl {

# default {
# pass custom-allowed !aggressive !drugs !gambling !hacking !porn
!porno1 !violence !warez !custom-blocked any
# redirect http://2.8.0.1:81/redirect.cgi?category=%t&url=%u
# }

regla0 {
gr0 pass all
}


regla50 {
gr50 pass gobierno otros custom-allowed !aggressive !drugs !gambling
!hacking !porn !porno1 !violence !warez !custom-blocked within noche
redirect http://2.8.0.1:81/redirect.cgi?category=%t&url=%u
}
regla100 {
gr100 pass custom-allowed !aggressive !drugs !gambling !hacking !porn
!porno1 !violence !warez !custom-blocked within todoeldia
redirect http://2.8.0.1:81/redirect.cgi?category=%t&url=%u
}
regla150 {
gr150 pass custom-allowed !aggressive !drugs !gambling !hacking !porn
!porno1 !violence !warez !custom-blocked any
redirect http://2.8.0.1:81/redirect.cgi?category=%t&url=%u
}

regla200 {
gr200 pass none
redirect http://2.8.0.1:81/redirect.cgi?category=%t&url=%u
}

}

Reply via email to