Ok, mas como seria essa regra?

segue abaixo o meu squid.conf

http_port 3128
visible_hostname linux 
#CONFIGURACAO DO CACHE
cache_mem 32 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 2048 16 256
#LOCALIZACAO DO LOG DE ACESSO
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255 # regra 1 usar o proxy
localmente
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl acesso_total src "/etc/squid/acesso_total"
acl acesso_restrito src "/etc/squid/acesso_restrito"
acl liberado url_regex -i "/etc/squid/liberado"
acl download url_regex -i "/etc/squid/download"
acl bloqueado url_regex -i "/etc/squid/bloqueado"
http_access allow acesso_total
http_access allow liberado
http_access deny download
http_access deny bloqueado
http_access allow acesso_restrito
http_access deny all
 
 
-------Mensagem original-------
 
De: Adelmo Junior
Data: 10/11/2007 10:17:06
Para: [email protected]
Assunto: Re: Re: [squid-br] ATA no Squid
 
Bom,
 
acho que a pergunta é:
- vc faz proxy transparente? as regras(iptables) pro proxy transparente
estão no modem ou na maquina(provavel)?
 
vc tem que colocar uma regra, antes do redirecionamento (transparencia),
dizendo pra nao fazer transparencia pro ip xxx.xxx.xxx.xxx
 


 
Em 10/11/07, Leonardo M. <[EMAIL PROTECTED]> escreveu: 
Sendo assim, Gustavo, você terá que fazer as configurações no modem.

Leonardo M.

Em 10/11/07, Gustavo Torrezani Mathias < [EMAIL PROTECTED]> escreveu:
>
>
>
>
>
>
>
>
> Sim o modem esta como roteador, e nao uso firewall, o motivo e que esse
proxy esta em uma lan house e cada jogo utiliza varias portas diferentes, o
que fez com que a gente decidir se por usar apenas o squid. 
>
>
> -------Mensagem original-------
>
>
> De: Leonardo M.
> Data: 9/11/2007 21:57:47
> Para: [email protected]
> Assunto: Re: [squid-br] ATA no Squid
>
> Olá Gustavo.
>
> 1 - Você não utiliza firewall no micro que o Squid está instalado?
> 2 - Seu modem é que faz o "papel" de roteador ou é outro micro? 
>
> Leonardo Mendonça


 
 

<<faint_grain.jpg>>

Responder a