Thanx for your reply

I have tried all of the instructions listed in the given site but they wont
work.

I think problem is out of the iptables.

Waiting for reply
M Bilal Ahmad

-----Original Message-----
From: Kinkie [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 22, 2006 4:23 PM
To: Muhammad Bilal Ahmad
Cc: 'Steve Brown'; squid-users@squid-cache.org
Subject: Re: [squid-users] Sos transparent proxy problem

On Wed, 2006-02-22 at 15:30 +0500, Muhammad Bilal Ahmad wrote:
> Dear all

[...] 

> touch /var/lock/subsys/local
> 
> ulimit -n 8192
> 
> echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> iptables -t nat -A POSTROUTING -p tcp -j MASQUERADE
> 
> iptables -t nat -A PREROUTING  -p tcp --dport 80 -i eth0 -j DNAT --to
> 192.168.0.29:3128
> 
> iptables -t nat -A POSTROUTING -p udp -j MASQUERADE

[...]

Your iptables rules are wrong, especially the DNAT one. Please check the
FAQ at
http://squidwiki.kinkie.it/SquidFaq/InterceptionProxy#head-e59e8be8079565bbf
ac3f978111ea65b48840ef9

        Kinkie


Reply via email to