Community discussions

MikroTik App
 
rizwan602
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu Jun 28, 2012 5:15 am

TOOL FETCH question

Tue Apr 11, 2017 8:58 am

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
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: TOOL FETCH question

Thu Apr 13, 2017 7:11 pm

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

Who is online

Users browsing this forum: Bing [Bot], CGGXANNX, parm, regisc, Semrush [Bot], vingjfg and 120 guests