RE: [squid-users] Sos transparent proxy problem

From: Muhammad Bilal Ahmad <bilal@dont-contact.us>
Date: Wed, 22 Feb 2006 16:50:58 +0500

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:kinkie-squid@kinkie.it]
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
Received on Wed Feb 22 2006 - 04:55:37 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST