Route Marking

Hi,
I originally posted this question in the beginner basics section, but someone suggested to post it here. As I understood it, the purpose of this section is more for bugs but I will give it a try.
I need help with route marking in OS7.04. I have problems with establishing TCP connections (viewtopic.php?p=892607#p892607) and most likely a dual WAN setup is the reason.

Setup is as following:

ISP1 → Fritzbox1 (192.168.176.1/24) —> WAN1 Mikrotik (192.168.176.254 // 192.168.178.1/24)
ISP2–> Fritzbox2 (192.168.179.1/24) —> WAN2 Mikrotik (192.168.179.254 // 192.168.178.1/24)

Routes are like that:

/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.176.1
pref-src=“” routing-table=main scope=30 suppress-hw-offload=no
target-scope=10

add disabled=no distance=2** dst-address=0.0.0.0/0 gateway=192.168.179.1
pref-src=“” routing-table=main scope=30 suppress-hw-offload=no
target-scope=10

** I want to have both routes on equal cost (distance of second route =1)

Mangle rules for each wan (this is wan1) would be:
/routing table * I have a few duplicated entries from failed tries and don’t know how to delete them
add name=ISP1
add name=ISP1
add fib name=ISP1
add fib name=ISP_fib

/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new disabled=yes**
in-interface=ether1 new-connection-mark=ISP1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=ISP1 disabled=yes**
new-routing-mark=ISP_fib passthrough=yes

**i will enable it then of course

So now is the question how to set a route, so that all marked traffic leaves out of the gateway it came from.