sábado, 26 de maio de 2012

acl squid3 + Debian 6

acl acesso_livre src "/etc/l3unix/squid3/acesso_livre.txt"
acl acesso_restrito src "/etc/l3unix/squid3/acesso_restrito.txt"
acl acesso_controlado src "/etc/l3unix/squid3/acesso_controlado.txt"

acl blacklist url_regex -i "/etc/l3unix/squid3/blacklist.txt"
acl whitelist dstdomain "/etc/l3unix/squid3/whitelist.txt"

http_access allow acesso_livre

http_access allow whitelist acesso_restrito
http_access deny acesso_restrito

http_access deny blacklist acesso_controlado
http_access allow acesso_controlado

http_access allow localhost
http_access deny all

Nenhum comentário:

Postar um comentário