When you use the proxy the router originates the traffic. Your mangle rules don’t mark that traffic (traffic originated by the router doesn’t go through pre-routing), so there’s no route to take.
Just duplicate exactly the routes you have, move them under the existing ones, and remove the routing-mark property.
This works, but the traffic goes over the first route…
I will separating the traffic over the 2 WAN-Ports and this must work with the web-proxy too.
Or is that no way?
Those mangle rules don’t seem to make much sense. There’s no marking for ‘GroupB’, for example. And ‘GroupA’ only gets marked for traffic to 192.168.88.22 as a single IP. Is that your entire ruleset?
What are you actually trying to do - don’t post config at this point, post the overall business goal. Maybe add a network diagram.
The attached file shows my network diagram.
I have many Clients for GroupA and GroupB.
For the allocation of IP addresses assigned to individual groups, it can later be moved based on the traffic of one or the other yet.
On the Mikrotik router 2 WAN run together and the traffic must pass through the web proxy (but for every client on the appropriate group / WAN interface).
Your Idea with the 2 Routes without any Routingmarks works fine but over one WAN for all Clients. This I can not use.
I hope you can helpme.
That’s impossible. The connection from the web proxy to the Internet is separate from the original connection, and it’s impossible to determine whether a connection from the proxy to the Internet is because of a request from group A or group B.
How would that device know whether or not something came from group A or group B?
You simply can’t use a RouterOS proxy and send group A traffic via WAN link 1 and group B traffic via WAN link 2 because the proxied traffic no longer comes from either group, it comes from the router running the proxy. You can spread traffic randomly across both circuits, but not use the group to make a decision.
The only possible approach would be to have two additional routers, each running a proxy - one for group A, and one for group B.
If the Web proxy would stay away, the total traffic of 64 Mbps would be about over one RB 450G with connection tracking, is this possible?
Or even why I need two single RB 450G?