In a dual WAN set-up with different ISPs (different gateways), is it possible to route all traffic going to the internet to WAN-1 (ISP1) but reroute any traffic initiated by Tracert/Traceroute command that is targeting any public destination IP address to WAN-2 (ISP2)?
The trick is to make all traffic from LAN to WAN looks like they are passing through WAN-2 (ISP2) when users conduct a traceroute, wherein in reality it passes through WAN-1 (ISP1). Traceroute result should show IP addresses of ISP2 and not from ISP1.
Traceroute works with any protocol, Linux uses UDP for example but you can even use TCP. This whole idea seems shady as hell, like you’re hiding what service you’re really selling and tricking your customers.
Have a look how traceroute actually works and what is the purpose of TTL in general and in traceroute in particular. Sniffing traceroute traffic and analysing it using Wireshark is a great way to learn that. If you use something else than Mikrotik itself (Windows, Linux) to run the traceroute (tracert, mtr) tool, you’ll also see why @ingdaka’s suggestion to apply specific routing to ICMP traffic would actually only work for niche scenarios (and worse than that, it would also break some things, but you won’t see these from a packet sniff of traceroute). It will also make you understand what @R1CH wrote and that there is no list of ports you could use to reliably distinguish traceroute traffic from other one.
Rest assured that cheating on your customers will fire back sooner or later.