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 <[EMAIL PROTECTED]>
Reply-To: Matthew Tanase <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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.

[EMAIL PROTECTED]

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




Reply via email to