[Fedora-users-br] Squid

Cristiano Furtado jasonnfedora em gmail.com
Dom Maio 6 22:08:25 UTC 2007


Qual a versão do squid que vc esta utilizando ae? Por que na versão mais
atual essas linhas não funcionam mais como proxy transparente:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 3128

Utilize essa linha no lugar somente:

http_port 192.168.0.1:3128 transparent


Em 06/05/07, Alexandre Singulani <alexsingr em hotmail.com> escreveu:
>
> Pessoal, instalei o squid aqui e coloquei um arquivo de configuraçao pra
> rodar. Adaptei conforme minha rede, quando mando roda o serviço, ele da
> ok... mas quando configuro meu browser pra usar o proxy, a internet nao
> funciona. Abaixo o meu squid.conf
>
>
>
> http_port 3128
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_dir ufs /var/spool/squid 128 16 256
> cache_mem 16 MB
> cache_swap_low 90
> cache_swap_high 95
> maximum_object_size 4096 KB
> minimum_object_size 0 Kb
> maximum_object_size_in_memory 4096 KB
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> client_netmask 255.255.255.0
> cache_access_log /var/log/squid/access.log
> cache_log /var/log/squid/cache.log
> cache_swap_log /var/log/squid/swap.log
> acl rede src 192.168.0.0/24
> acl SSL_ports port 443 563
> acl Safe_portS port 21
> acl Safe_ports port 22
> acl Safe_ports port 80
> acl Safe_ports port 70
> acl Safe_ports port 210
> acl Safe_ports port 280
> acl Safe_ports port 488
> acl Safe_ports port 591
> acl Safe_ports port 771
> acl Safe_ports port 1025-65535
> acl CONNECT method CONNECT
> acl permitir_rede src 192.168.0.0/24
> acl proibir_sitios url_regex -i "/etc/squid/sites"
> acl proibir_palavras url_regex -i "/etc/squid/palavras"
> acl all src 0.0.0.0/0.0.0.0
> http_access deny proibir_sites
> http_access deny proibir_palavras
> http_access allow manager localhost
> http_access allow permitir_rede
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access deny all
> icp_access allow all
> miss_access allow all
> cache_effective_user squid
> cache_effective_group squid
> visible_hostname squid.servidor.intranet
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> ------------------------------
> Chegou o Windows Live Spaces:você divide seu blog, suas fotos, sua lista
> de música e agora encontra seus amigos! É só entrar no:<http://g.msn.com/8HMBBRBR/2731??PS=47575>
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-users-br
>
>


-- 
Cristiano Furtado dos Santos
Gerente de TI - Projetos de Software Livre
http://jasonnfedora.eti.br
http://fedora.org.br
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listman.redhat.com/archives/fedora-users-br/attachments/20070506/58c8ebdc/attachment.htm>


Mais detalhes sobre a lista de discussão Fedora-users-br