Is squid running on port 80 on the destination box ?
If not you either need to redirect to the correct port (3128 squid default) or use PREROUTING on your destination host too.
Maybe a little more insight to your problem would help set the scene
Sent from my iPhone
On 23 Oct 2011, at 15:40, "Ivan Matala" <ivanmatala_at_gmail.com> 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
>
> thanks
Received on Mon Oct 24 2011 - 21:19:11 MDT
This archive was generated by hypermail 2.2.0 : Tue Oct 25 2011 - 12:00:03 MDT