Answer the question
In order to leave comments, you need to log in
MikroTik: how to redirect client traffic to another host?
Addresses of MikroTik itself:
192.168.3.1 - on ether3
192.168.130.99 - on ether5
ether1 distributes the Internet
There is a network 192.168.130.0/24 connected to ether5. There is a client on this network with the address 192.168.130.10 . It is necessary to redirect client traffic 192.168.130.10 to another router that will distribute the Internet to it - to 192.168.3.11 192.168.3.11 itself
is already configured as a router: if you specify it as the default gateway for computers from 192.168.3.0/24 - everything works as clock
Answer the question
In order to leave comments, you need to log in
Try adding the following rules
route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.3.11 routing-mark=tst scope=30 target-scope=10
ip firewall mangle add action=mark-routing chain=prerouting disabled=no new-routing-mark=tst passthrough=yes src-address=192.168.130.10
ip firewall nat add action=src-nat chain=srcnat disabled=no out-interface=ether3 src-address=192.168.130.10 to-addresses=192.168.3.1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question