Forwarding a port to an internal IP

From MikroTik Wiki
Jump to: navigation, search

This example will show you how to forward port (tcp 5900) to an internal IP using destination NAT. is the example wan IP, is the desired internal destination.

/ip firewall nat add chain=dstnat dst-address= protocol=tcp dst-port=5900 \
    action=dst-nat to-addresses= to-ports=5900