[squid-users] URL could not be retrieved error...

This is a discussion on [squid-users] URL could not be retrieved error... within the Squid Users forums, part of the Web Server and Related Forums category; Hi! I'm having the following problem with squid.I have a machine running squid (squid box) and some stations ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2003
Luciano Bernardes de Paula
 
Posts: n/a
Default [squid-users] URL could not be retrieved error...

Hi!

I'm having the following problem with squid.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 DNAT --to-destination squid_box:3128

I also tried this one:

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?

Is there a light at the end of the tunnel? :-)

Thanks a lot!


__________________________________________________ _____________________
Conheça o novo Cadê? - Mais rápido, mais fácil e mais preciso.
Toda a web, 42 milhões de páginas brasileiras e nova busca por imagens!
http://www.cade.com.br
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0