TOOL FETCH question

Hello,

I have more than 1 gateway set up on my MikroTik router. They are both working properly as I am using them to route traffic as needed.

I need to perform an operation which works like this (example below) through the system > scheduler function:

/tool fetch http://www.somedomain.tld/file.zip
/tool fetch http://www.somedomain.tld/otherfile.zip

I would like to route the first line through a particular gateway and route the second line through another gateway on the MikroTik.

How can this be done? It seems like to me that all internal operations such as these are routed through the default gateway. Can this be changed by specifying which gateway to use?

I was thinking something like this:

/tool fetch http://www.somedomain.tld/file.zip use-gateway ether1
/tool fetch http://www.somedomain.tld/otherfile.zip use-gateway ether2

This would be very helpful for me. Thank you.

Rizwan

You could use a Layer 7 firewall rule. When you’re requesting http://domain.com/otherfile.zip it can mark the packets with a routing mark, then you can route out WAN2