[Ilugc] Squid-Transparent

  • From: thanixrajan@xxxxxxxxx (Thanigai rajan)
  • Date: Wed Jan 20 11:11:13 2010

 I have configured the Transparent Squid in CentOS following the url:-
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid<http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid>
When i restart the squid i got some error
Stopping squid: 2009/01/19 21:35:19| parseConfigFile: line
3098>unrecognized: 'h      ttpd_accel_host virtual'

I think You are using squid version 2.6 or later, if so the phrase
"transparent" itself enough.
(It is clearly stated in the given URL).

If you are using prior 2.6 version , it may be the reason ,see there are
some sapces between h & ttpd_accel_host virtual in your configuration file.
and i don't know iptables rules is correct or wrong
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to
192.168.1.124:3128 <http://192.168.1.124:3128>

you missed the phrase "port" after --to  (It is also in the same URL)
Please give me the suggestion
Squid has released version 3, It is recommended that use the newer version
-- 

Thanks & Regards
MThanigairajan

The Most Certain Way To Succeed Is To Try One More Time

    -- By Edison

Other related posts: