Proxy and routing

Hi,
I have the following issue,
I’m using the mangle+prerounting to route http request to one getawat and rest of packet to default getaway
Now I wnat to set my web proxy but with dst nat I redirect all TCP to the proxy 8080 but after the proxy request are route to default getaway instead of desidered one.

Could you help me?
Massim

i’am doing similar things, but do not understand your question, sorry.
packets can not be splitted.

I have 2 WAN.
WAN-A is the default gateway
WAN-B is for HTTP traffic

It works using Mangle e routing packets policy.

Now,
I want use the WEB proxy to reduce WAN traffic.
But Following the procedure of the manual the destination nat is before the mangle firewall operation. In this way the HTTP traffic is addressed to the WAN-A instead of WAN-B ignoring the routing policy.

Is there a solution?

One option is to set up your gateways in reverse.

Set up your “http” gateway as your default gateway, then set source routing up to use the non-default gatway…

I know it sounds backwards, but it worked for me

Yes it is a possibility, but I need to create the other mangle rules for the remaining infinite protocols.