Re: [squid-users] failed http redirection

From: Andrew Beverley <andy_at_andybev.com>
Date: Sun, 23 Oct 2011 16:37:43 +0100

On Sun, 2011-10-23 at 07:41 -0700, Ivan Matala wrote:
> hello, this is my code
>
> iptables -t nat -A PREROUTING -i tun0 -p tcp -m tcp --match multiport
> --dports 80 -j DNAT --to-destination 118.67.78.136:80
>
> what im trying to do is, im trying to redirect all http requests to a
> foreign proxy, but it fails
>

What are your other iptables rules? Are you sure that there is not an
ACCEPT (or another rule that stops that rule being transversed) before
that rule? Try changing it to a LOG to check that it is actually doing
something.

Andy
Received on Sun Oct 23 2011 - 15:37:45 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 24 2011 - 12:00:03 MDT