Meu rc.conf esta ok pois a nat esta funcionado bem e tem a opção gateway_enable="YES" o squid tambem pois se configuro no navegador fuciona. O problema é o redirecionamento para proxy transparente quanto ativo o computador navega normal mas não passa pelo proxy.
Em 23 de março de 2010 15:41, <rodr...@rcsolucoesinteligentes.com.br>escreveu: > > > Boa tarde amigo, passe o seu rc.conf completo, pois se nao me engano > está faltando essa informaçao: > > > > # gateway_enable="YES" > > > > É ela quem diz para o sistema interpretar como um GW. > > > > Abraços. > > > > > Estou queredo o squid no modo transparente minha > configuração esta abaixo > > > > > > O squid funciona perfeitamente pois configurei no navegador a Nat > também > > > esta ok pois testei no ping. > > > > > > Compilei o squid com a opção --enable-pf-transparent > verifico isso com > > > squid > > > -v > > > > > > > > > > > > Mas não funciona houvesse redirecionamento de porta > > > > > > > > > > > > 1 – Kernel > > > > > > #PF > > > > > > device pf > > > > > > device pflog > > > > > > device pfsync > > > > > > > > > > > > options ALTQ > > > > > > options ALTQ_CBQ > > > > > > options ALTQ_RED > > > > > > options ALTQ_RIO > > > > > > options ALTQ_HFSC > > > > > > options ALTQ_CDNR > > > > > > options ALTQ_PRIQ > > > > > > > > > > > > 2- rc.conf > > > > > > pf_enable="YES" > > > > > > pf_rules="/etc/gbs/pf.conf" > > > > > > pf_flags="" > > > > > > pflog_enable="YES" > > > > > > pflog_file="/var/log/pflog" > > > > > > pflog_flags="" > > > > > > sh /etc/gbs/iniciar.gbs > > > > > > > > > > > > 3 – natd.conf > > > > > > nat on em0 from any to any -> em0 > > > > > > > > > > > > 4 – pf.conf > > > > > > rdr on rl0 proto tcp from any to any port www -> 127.0.0.1 port > 3128 > > > ------------------------- > > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > > > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd