-1

I have a microtik router which is connected to different networks, one of them is our lan, another is the network of a media system we are using.

My problem is, that I need to redirect all traffic going to an IP in our lan assigned to the microtik to a specific IP in the other network which is on a different interface.

I tried to use dst-nat, but had no success.

Any help or pointing in the right direction is appreciated.

Deep Parsania
  • 253
  • 2
  • 12
fredo.r
  • 381
  • 1
  • 2
  • 14
  • 1
    usually computers on the same network do not use a router. what exactly do you want to implement. Where is the traffic source you need to be redirected? – dash1121 Dec 06 '19 at 12:18
  • traffic can come from lan or other sites connected via l2tp/ipsec. I want my router to forward traffic he recives on a specific ip in my lan to a specific ip in another network the router is connected to and translate the adress so it looks like traffic comes from the router. – fredo.r Dec 06 '19 at 19:54

1 Answers1

0

you can assign ip1(192.168.1.1) to mikrotik interface and use dst-nat to redirect to another ip2(192.168.1.160)

/ip address add disabled=no address=192.168.1.1 network=192.168.1.1 interface=e1-lan 
/ip firewall nat add disabled=no chain=dstnat action=netmap to-addresses=192.168.1.160 to-ports=3389 protocol=tcp dst-address=192.168.1.1 dst-port=3389
dash1121
  • 101
  • 4