problem when redirect

Hi all i have this config:

two wans
two lans

two default gateways

all work fine but when i make proxy enable and redirect the traffic to proxy all trafic dstport 80 goes by wan1 and I espect to get behavior as proxy disable: traffic goes by gateway1 and traffic marked goes by gateway2.

thanks for help!!!
Dibujo.JPG
Dibujo2.JPG
Dibujo3.JPG

here is the rest of the config
Dibujo4.JPG
Dibujo5.JPG
Dibujo6.JPG

The proxy gets the redirected traffic, and then fetches the webpage for the client. That traffic will be in the output chain, and carry a source IP address from the router. Change your mangling/packet marking accordingly.

Hi!! I tryed in mangle= chain output, src addres=public action routing mark and doesn’t work
chain output, src addres=192.168.2.0/24 action routing mark and doesn’t work
chain output, out interface wan2, action routing mark and doesn’t work


any suggestion :frowning: