Re: [squid-users] Sos transparent proxy problem

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Wed, 22 Feb 2006 12:22:58 +0100

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-e59e8be8079565bbfac3f978111ea65b48840ef9

        Kinkie
Received on Wed Feb 22 2006 - 04:23:36 MST

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