[squid-users] Wrong URL

From: yury alekseev <epsilon@dont-contact.us>
Date: Fri, 19 Nov 2004 15:13:26 +0300

Hi!
I'm having the following problem with squid as someone had and alrady
wrote about it. So i just copied the message since i have exact the same
problem!

I have a machine running squid (squid box) and some stations
that are supposed to go through the squid box.

When I set the browser of a station to go through the
squid box (setting up to go through a proxy informing
the IP of squid box and port) everything works just
fine.

But when I use some iptables redirect rules ("all
incoming pkts destinated to port 80, go to port 3128")
in the squid box and set that as gateway for the
station, to make all the process transparent, any site
I try to reach from the station receives de "URL could
not be retrieved..." error.

I think that the redirect is working, because the
error page that is shown is generated by squid.

What can be wrong? What's the difference between go
through a proxy setting up the browser or by
redirecting?

I'm using squid-2.5STABLE and the redirect rule that
I'm using is:

iptables -A PREROUTING -s station_IP -d ! squid_box
-dport 80 -j REDIRECT -to-port 3128

I think that if the squid wasn't working, I could not
go through it even setting the browser, and if the
redirect wasn't working, I wouldn't receiving the
error page generated by the squid... Am I right?

Thanks in advice

-- 
-- 
yury alekseev <epsilon@ideka.ru>
Received on Fri Nov 19 2004 - 05:06:26 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST