Dear Forum members,
need help with one scenario on routeros 6 regarding port forwarding.
Outside wan have multiple ip/interfaces. Current portforwarding state is is SRC NAT /DST NAT, outside wan ip and wanted ports to inside lan ip same wanted ports, that basicaly working ok.
Problem is that inside is mailserver, dns server and all connection from outside ips at service logs seems to came from mikrotik lan ip address, so i want preserve original requester ip address that servers inside can check, filter using blacklist etc…
How can i set t mikrotik preserve source ip?
Servers inside know by its routing tables in which way they need to answer.
Trying to find similar thread on forum but with not success.
Finally found the solution which worked for me. You will have to setup masquarade output interface (default not set for me). When its not set, the source ip in dstnat is changed to ip of mikrotik gw. Hope it helps.