Squid+Proxy Transparnte = Missing
Seguinte pessoal,
To usando squid e no meu firewall ta como proxy transparente com essa linha
${IPTABLES} -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128, ta redirecionando legal só que dá o erro ai abaixo. Mas se eu usar o proxy no browser não sendo o transparente funciona legal, alguem pode me ajudar
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: /
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
Generated Fri, 02 Sep 2005 14:13:03 GMT by meudominio (squid/2.5.STABLE3)
Att
Leonardo Salgado
Squid+Proxy Transparnte = Missing
O que habilita a transparencia no squid não é o firewall (ele apenas redireciona pacotes), mas sim as tags abaixo. Verifica se elas estão no teu squid.conf.
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on