keep 3 things in mind
1.the clients gateway must be that ip on which squid is listening on.( your
bridge ip)
2.the clients must have access to a dns server which can can resolve any
query.(which is not needed in manual proxy)
3.ip forwarding is enabled and those 4 httpd_acceel options in squid.conf.
u need only 1 command
iptables -t nat -A POSTROUTING -p tcp --dport 80 -s xxxxxx -j REDIRECT
--to-port xxxx
now verify through " iptables -t nat -vnL" and "access.log" if any packets
are redirected.
>From: Matthew Tanase <tanase@qaddisin.com>
>Reply-To: Matthew Tanase <tanase@qaddisin.com>
>To: squid-users@squid-cache.org
>Subject: [squid-users] Squid transparent proxy and bridge question
>Date: Tue, 23 Mar 2004 12:47:54 -0800 (PST)
>
>
>Hello
>
>I have setup Mandrake Linux 10.0 as a bridge. I have confirmed the
>interfaces (eth0 and eth1) are acting as a bridge. I have installed Squid
>on this device and would like it to act as a forced, transparent proxy. So
>I am redirecting requests coming into the bridge to port 3128, which squid
>is running on. I have followed the instructions from the Mini-How to (Linux
>+ Squid + Transparent Proxy) and included both iptables commands (the
>PREROUTING with REDIRECT to 3128), but Squid does not seem to process the
>requests. No entries in the access.out file. I have found one message on
>the list with a similar problem last year, but it was not resolved.
>
>So can anyone point me in the right direction? Bridge is working, squid is
>running, you can surf the web from a device connected to the bridge/proxy,
>but Squid is not processing the requests. Thanks.
>
>tanase@qaddisin.com
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Received on Wed Mar 24 2004 - 12:33:30 MST
This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST