Mikrotik is new for me and I am learning it day by day. I am using it in the MPLS environment where we don’t do NAT normally because all traffic from the different sites go to central Firewall for NAT and then go to the internet.
I have a unique requirement in which I have to perform the NAT for one destination which is in the MPLS network and only for DATA LAN source. Details are as under
source will be data LAN which is 192.168.1.0/24
destination will be 100.100.100.100 in the MPLS network
NAT on bridge loopback interface with IP add 1.1.1.1 (1.1.1.1 has reachability to the 100.100.100.100 and both devices can ping each other.)
I want to perform the Policy base NAT I have achieved this success in Cisco multiple times. but on Mikrotik, it is not working.
I have done following steps on Mikrotik
Define the source list and destination list
perform source nat on the Mikrotik
enable connection tracking
If I add source and destination list or marking then NAT stops and when I am removing these nat works fine but for all destinations, while I want it only for a single destination.
I don’t know what’s with the marking, you shouldn’t need it for this. As for srcnat, first one looks wrong because of out-interface and out-bridge-port, second one can’t work when it looks for non-existent connection mark, and third one is closest to what you described you want. If you add destination address as another condition, it should probably be ok:
Probably not, unless you’d have some special config (e.g. some policy routing where this traffic can use different routes and outgoing interfaces, and you’d need NAT for only one).