On one of my ROS 6.49.1 units i have a simple solution to force all traffic from a fixed IP out via a specific interface:
Mangle rule
0 ;;; Send laptop via 4G
chain=prerouting action=mark-routing new-routing-mark=BT4G passthrough=yes src-address=192.168.0.241 dst-address-list=!<lan_list> log=no log-prefix=""
Routing rule
/ip route
add check-gateway=ping distance=1 gateway=192.168.0.254 routing-mark=BT4G
I have two questions:
1. How would I achieve the same in ROS 7 - it seems to work somewhat differently ?
2. Would it be possible to use a rule similar to the above but instead of specifying a source IP, it would be a dst port ?
Thanks