I have pc with whonix which is inside main lan, for example lets say whonix gateway tor ip is 192.168.7.11. (everything is connected to one mikrotik router connected to isp)
Now i would like to make some policy based routing on this mikrotik so traffic from 192.168.8.1 will be transferred normally through isp,
but traffic from 192.168.9.1 will go only through tor gateway.
How to do that?
my guess is mangle packets from 192.168.9.1, mar prerouting, add gateway from ip route?
do i have to also ad some srcnat masquerade?