[squid-users] Squid 3 in Transparent mode problem

From: sekar it <[email protected]>
Date: Sat, 19 Apr 2008 10:15:50 +0530

Hello all,

I have installed and configured the squid-3.0Stable1 in transparent
mode with following options.

http_port 3128 transparent

I have redirected the traffic from my Gateway to Squid box with
following rule. ( x.x.x.sq - squid box IP ) ( x.x.x.gw - gateway )
-A PREROUTING -s ! x.x.x.sq -d ! x.x.x.gw -i eth0 -p tcp -m tcp
--dport 80 -j DNAT --to-destination x.x.x.sq:3128

I did not have any rule in my squid box.

I got the following message in my broswer when i browse the google.com

-------------------------------------------------------------------------------------------------
    * 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 Sat, 19 Apr 2008 04:39:43 GMT by localhost (squid/3.0.STABLE1)
-------------------------------------------------------------------------------------------------------

Squid access log:
1208580076.277 8 x.x.x.x NONE/400 1747 GET / - NONE/- text/html

Do i need to configure anything more?

Thanks in advance,
Sekar
Received on Tue Apr 22 2008 - 13:46:03 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT