procura por essa linha ou alguma parecida no seu firewall isso se voce usar iptables e comenta essa linha iptables -t nat -A POSTROUTING -s 0/0 -d 0/0 -j MASQUERADE e incluia essa linha iptables -t nat -A PREROUTING -p tcp -s xxx.xxx.xxx.xxx/32 --dport 80 -j REDIRECT --to-port 3128 onde xxx.xxx.xxx.xxxx seja a sua rede exemplo 192.168.1.0/32 ou pode tambem informar a eth referente a sua rede. iptables -t nat -A PREROUTING -p tcp -s eth1 --dport 80 -j REDIRECT --to-port 3128 no meu caso a eth1 e a rede interna minha. Jose Carlos Teixeira Da Silva Tecnologia da Informação Usina Santa Isabel S/A [EMAIL PROTECTED] Fone (17) 3543-9100 / Ramal 9127
________________________________ De: [email protected] em nome de Marceleza - Gmail Enviada: qua 13/9/2006 09:20 Para: [email protected] Assunto: Re: [squid-br] Regex Libera ips - SOCORRO Pessoal, Meu proxy transparente nao esta funcionando, preciso de ajuda por favor. Transcrevo abaixo o squid.conf. Obrigado. ################## INICIO DO ARQUIVO visible_hostname xxx.xxx.xxx.xx http_port 8080 icp_port 0 acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY no_cache allow QUERY cache_mem 512 MB maximum_object_size_in_memory 128 KB maximum_object_size 1024 MB minimum_object_size 0 KB cache_swap_low 90 cache_swap_high 95 cache_dir ufs /var/spool/squid 2048 16 256 cache_access_log /var/log/squid/access.log #cache_access_log /dev/null dns_nameservers 200.255.125.211 #proxy transparente httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on acl localnet src 10.0.0.0/255.255.252.0 acl localhost src 127.0.0.1/255.255.255.255 acl Safe_ports port 80 443 210 119 70 20 21 1863 1025-65535 acl CONNECT method CONNECT acl all src 0.0.0.0/0.0.0.0 acl ips_acessofull url_regex -i "/etc/squid/liberados/ips_acessofull.txt acl proxygw url_regex -i "/etc/squid/bloqueados/proxy/domains.txt" acl blockedsites url_regex -i "/etc/squid/bloqueados/block.txt" acl unblockedsites url_regex -i "/etc/squid/bloqueados/unblock.txt" acl malware_block_list url_regex -i "/etc/squid/mbl/malware_block_list.txt" http_access allow localnet http_access allow localhost http_access allow ips_acessofull http_access deny malware_block_list http_access deny proxygw http_access deny blockedsites !unblockedsites http_access deny !Safe_ports http_access deny CONNECT ################## FIM DO ARQUIVO Marceleza - Gmail escreveu: > E ae Drops. > > Rapaz, agora nao bloqueio orkut, que esta na minha lista de malwares. > > Vou reenviar pra vc dar uma olhada por favor. > > Obrigado. > > > > acl localnet src 10.0.0.0/255.255.252.0 > acl localhost src 127.0.0.1/255.255.255.255 > > > acl Safe_ports port 80 443 210 119 70 20 21 1863 1025-65535 > acl CONNECT method CONNECT > acl all src 0.0.0.0/0.0.0.0 > acl ips_acessofull url_regex -i "/etc/squid/liberados/ips_acessofull.txt > acl proxygw url_regex -i "/etc/squid/bloqueados/proxy/domains.txt" > acl blockedsites url_regex -i "/etc/squid/bloqueados/block.txt" > acl unblockedsites url_regex -i "/etc/squid/bloqueados/unblock.txt" > acl malware_block_list url_regex -i > "/etc/squid/mbl/malware_block_list.txt" > > > http_access allow localnet > http_access allow localhost > http_access allow ips_acessofull > http_access deny proxygw > http_access deny malware_block_list > http_access deny blockedsites !unblockedsites > http_access deny !Safe_ports > http_access deny CONNECT > > > DropsDef escreveu: >> Marceleza - Gmail wrote: >> > Pessoal, >> > >> > A regra abaixo intitulada IPS_ACESSOFULL nao esta funcionando. Alguem >> > saberia identificar o motivo? >> > >> > acl proxygw url_regex -i "/etc/squid/bloqueados/proxy/domains.txt" >> > acl ips_acessofull url_regex -i >> "/etc/squid/liberados/ips_acessofull.txt >> > acl blockedsites url_regex -i "/etc/squid/bloqueados/block.txt" >> > acl unblockedsites url_regex -i "/etc/squid/bloqueados/unblock.txt" >> > acl malware_block_list url_regex -i >> "/etc/squid/mbl/malware_block_list.txt" >> > >> > http_access deny proxygw >> > http_access deny malware_block_list >> > http_access deny blockedsites !unblockedsites >> > http_access deny !Safe_ports >> > http_access allow localnet >> > http_access allow localhost >> > http_access allow ips_acessofull >> > http_access deny CONNECT >> > >> > >> A ordem dos tratores alteram o viaduto. >> >> As permissões necessitam vir antes das negações na diretiva http_access. >> Ex.: >> >> http_access allow localnet >> http_access allow localhost >> http_access allow ips_acessofull >> http_access deny proxygw >> http_access deny malware_block_list >> http_access deny blockedsites !unblockedsites >> http_access deny !Safe_ports >> http_access deny CONNECT >> >> -- >> >> DropsDef >> http://dropsdef.blogspot.com >> msn: [EMAIL PROTECTED] >> skype: dropsdef >> >> > > Enviar mensagem: [email protected] Assinar: [EMAIL PROTECTED] Cancelar assinatura: [EMAIL PROTECTED] Proprietário da lista: [EMAIL PROTECTED] Links do Yahoo! Grupos <*> Para visitar o site do seu grupo na web, acesse: http://br.groups.yahoo.com/group/squid-br/ <*> Para sair deste grupo, envie um e-mail para: [EMAIL PROTECTED] <*> O uso que você faz do Yahoo! Grupos está sujeito aos: http://br.yahoo.com/info/utos.html
<<winmail.dat>>
