My company has a site-to-site IPSEC tunnel configured with Mikrotik on the head end, and a TPLink router on the other. The tunnel itself is configured and working as intended, and is stable.
What I’m being tasked with doing, however, is routing traffic bound for github.com from the Mikrotik’s network through the tunnel to the other end’s network and ISP. I don’t see an obvious way to do it with IPSEC not being referred to as a gateway or “interface” by the RouterOS system.
Hopefully this is enough information to go on. I’m happy to answer any questions that will help further us along.
The caveat is that the client is free to ignore (or not support) these IPsec options. Furthermore often end-user software allows to override system’s DNS settings as well.