Code: Select all
Client IP ( 192.168.0.1 ) -----> 192.168.0.10:25 (Mikrotik) ------> 192.168.0.2:25 (MailServer)
Code: Select all
/ip firewall nat add chain=dstnat in-interface=LAN1 dst-address=192.168.0.10 protocol=tcp port=25 to-addresses=192.168.0.2 to-ports=25 action=dst-nat
BTW: I need this rule because the mail server used to be the same as the firewall (Linux Box) and there're about 30 pc with that configuration.