Proxy : Mandriva, Squid & Squidgard
this last times I installed the last mandriva, webmin, squid & squidGuard in the purpose to do a proxy at work.
I read lot of tutorials to know how set my config files but unfortunatly it's not working as it show.
foremost, linked with ip adress :
in my company the range is starting from 102.1.x.x
if in squid.conf I set it like that <acl localnet src 126.96.36.199/16> the proxy doesn't follow the restrictions but forwarding all websites, but if I define a out of range ip, like <acl localnet src 0.0.0.0/32> in this case it's working ?! :-/ how is it?
then for the restriction to manage white and black lists, I did in squird.conf as follow :
acl autorise url_regex "/usr/share/squidGuard-1.4/db/liste_blanche/domains"
http_access allow autorise
acl interdit url_regex "/usr/share/squidGuard-1.4/db/liste_noire/domains"
http_access deny interdit
because it's seem that the service never read the suiqGuard.conf file ?!
I added in it conscientiously my rules as teach on tutorial but it never apply by squid.
I tried both with synthax as follow :
url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
squidGuard.conf is well name like that (upper G) and in the good path /etc/squid/ ...
is someone has an idea about what I forgot.
many thanks for your help,
my work depend on it ! ^^
see ya' on the forum