From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Unterkircher Subject: Re: transparent proxy Date: Sat, 05 Feb 2005 19:22:22 +0100 Message-ID: <42050EDE.1070803@netshadow.at> References: <200502031330.21972.fluca1978@infinito.it> <42024A0D.20207@surefoot.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <42024A0D.20207@surefoot.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-admin@vger.kernel.org Cc: Luca Ferrari Don't know if you still have this problem. But maybe you are missing some lines in your squid configuration. You must tell squid, that it should act als httpd accellerator... httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on Jens Knoell wrote: > Luca Ferrari wrote: > >> Hi, >> I'm trying to use a machine as a transparent firewall/proxy, using >> iptables as described in the transparent proxy mini howto: >> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT >> --to-port 8080 >> >> where eth0 is my internal interface (eth1 is connected directly to >> the router). Now, when I try to browse the web, i always get the >> squid error page saying that the url "/" cannot be retrieved. For >> example, going to www.google.com is translated as /. >> Any idea? >> >> Thanks, >> Luca >> >> > That sounds like a faulty squid configuration. What does squids > logfile say? > > Jen > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html