hi

howto redirect the whole HTTP traffic using proxy ?

I have tried using iptables:
Code:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.5:3128
but it doesn't work !

this machine is a vpn gateway and should redirect the whole HTTP traffic to the proxy.

p.s
but I'm not using a transparent proxy.

greetings
cc