RouterOS v3.13: portmapping don't work.

I need to portmap port 25 from MikroTik interface to our SMTP server.

/ip firewall nat add action=dst-nat chain=dstnat dst-address=82.207.85.177 dst-port=25 protocol=tcp to-addresses=194.79.8.34 to-ports=25

winbox (IP/Firewall/NAT) shows packets on this rule, but SMTP server don’t receive this packets.

Is this my mistake (than please point me on it) or error in RouterOS?

RouterOS v3.13, hardware RB1000.

Have you checked your incoming chain to se if the connection is permitted?

are 82.207.85.177 and 194.79.8.34 on different interfaces?

Yes, connection is permitted.

The case is more difficult - 194.79.8.34 is on another device, not on MikroTik. I need to pass traffic through MikroTik to mailserver.

Hi,

Try specifying incoming interface, instead of dst-address. For me it works fine that way.

Mangot