
diogenesalves
(usa Ubuntu)
Enviado em 16/10/2008 - 23:44h
ai ta meu squid, nao da nenhum erro, so que nao funciona. Tenho 2 placas de rede. eth1(ligada no modem) 10.1.1.100/255.0.0.0, eth0(na rede) 10.1.1.150.
Eu preciso colocar o gateway com ip de qual placa?
http_port 3128 transparent
visible_hostname Server
acl all src 0.0.0.0/0.0.0.0
cache_mem 512 MB
cache_swap_low 60
cache_swap_high 80
maximum_object_size 16 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
error_directory /usr/share/squid/errors/Portuguese
acl clientes src 10.1.1.0/24
acl ips_liberados src "/etc/squid/filtros/ips_liberados.txt"
acl liberados url_regex -i "/etc/squid/filtros/palavras_liberadas.txt"
acl bloqueados url_regex -i "/etc/squid/filtros/palavras_bloqueadas.txt"
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_dir ufs /var/spool/squid 6500 16 256
cache_effective_user proxy
http_access deny !ips_liberados
http_access allow liberados
http_access deny bloqueados
http_access allow clientes
http_access deny all