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" <[email protected]> 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

Reply via email to