Ver Resposta Única
Antigo 25-01-2007, 09:54   #1 (permalink)
Padrão Problema com o squid

Bom dia pessoal.
Estou configurando um proxy transparente porém estou tendo alguns problemas.

No squid.conf eu descomentei as seguintes linhas:

httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Depois no iptables, que por sinal está rodando na mesma máquina do squid, eu coloquei a seguinte regra:

/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

Onde eth0 é a interface da sub-rede interna (192.168.3.0/24).

O problema é que quando eu tento acessar algum site aparece o erro NO DNS RECORD.

Alguém poderia me dar uma ajuda?
__________________
André Unno
ITIL Foundation Certified in IT Service Management

GNU/LinuxCounter#390708
http://counter.li.org

O sistema pediu: "Requires Windows 9x, Windows 2000 or better".
Então eu instalei Linux.
andunno
 
Avatar de andunno
 
Registrado em: Jan 2004
Posts: 353
Agradeceu: 0
Agradecido 2 vez(es) em 2 Posts
Reputação: 0 andunno
andunno está offline