I'm trying to send specific traffic that originates from the firewall itself over a tunnel—in this case it's standard DNS traffic (i.e; UDP 53) but it could be anything else later as I make further progress setting up the firewall, which is a little confusing; ${Ref1}=" the documentation is both ambiguous and incomplete"—All three versions of it ({wiki|help|manual}.mikrotik.com) so maybe I have better luck from other users I thought.
Could you assist me with this and with policy routing in general, I suppose.
I'm not that much of a lost case, I know how to policy route in pfSense (and its orange twin), in OpenWRT, and in the GUI-less VyOS, and I knew how to do it in generic Linux (though I forgot since then), so you don't have to dumb it down that much, but I still need help, nevertheless.
Currently I'm doing policy routing, mostly by accident/luck, I think, because ${Ref1}, it seems to work most of the time but sometimes it doesn't.
First there's that FIB checkbox; all non-Mikrotik guides I've found say to check it because it makes the table available to the system. But in the documentation it isn't even addressed at all. Instead tables are set with some sort or [unexplained] link to the main table[1] both with the same route. I found that the route still works with the FIB checkbox unchecked.
The next doubt I have about my setup is whether I may be hitting a limit; in Mangle | RouterOS Manual says that's there's a 4096 hard limit on packet marks. But the section is called Marking Connections, itself another type of mark, and mark routing being another more[2].
The method I'm using is not routing rules but the one above, specifically mark routing in mangle rules to control the exit of the traffic by selecting a routing table at the prerouting stage, but this is forwarded traffic; there's no prerouting stage/chain when the traffic comes from the firewall itself.
Somehow I think postrouting may not be either because it's not for forwarded traffic which also goes through postrouting.
I'm reading the documentation again but I'm going through all of it, even the unrelated, because that's where usually the caveats are hidden, so it'll be a long time before I make the through that again.
Any guidance either detailed or big picture is much appreciated. Thanks!