Mikrotik - NAT Rule (Port Forwarding)
In the event port forwarding is needed, a NAT Rule will need to be created in the Mikrotik.
For this example, the NAT Rule is to allow access to a device on IP 192.168.88.100 using port 80 (extension 100).
For devices such as onsite PBX that have remote extensions and need a range of ports, use a hyphen (example: 10000-20000).
To create the NAT rule, please do the following:
- Log into the Mikrotik using Winbox and go to IP
- Go to Firewall

- From the Firewall window, go to the NAT tab
- Click on the Blue Plus Sign to add a new rule
- From the New NAT Rule window, under the General tab, set the following settings:
- Chain: dstnat
- Protocol: tcp
- Dst. Port: 8080 (to use a port range use a hyphen, example: 10000-20000)
- In. Interface: ether1-gateway
- Click on Action tab

- For Action set to dst-nat
- To Addresses: 192.168.88.100 (example)
- To Ports: 80 (to use a port range use a hyphen, example: 10000-20000)
- Click Apply
- Click Comment

- In the Comment for NAT Rule <8080> add a comment to help identify the rule (e.g.: Ext 100)
- Click OK to close the comment window
- Click OK to close the NAT Rule window

- The rule will now appear in bold to show that the rule is active

To make the rule inactive or to disable select the rule (the rule will be highlighted in blue) and click on the red "X" or type "d" to disable the rule.
** WARNING **
It is important to only have the rule active when working on the device. Do not leave the rule active when not working on the device or the device will get compromised.
Related Articles
Forwarding a port to an internal IP on a Mikrotik
This example will show you how to forward port (tcp 3389) to an internal IP using destination NAT. 69.69.69.69 is the example wan IP, 192.168.1.101 is the desired internal destination. Terminal: /ip firewall nat add chain=dstnat ...
Mikrotik Site to Site Ipsec VPN
*Information on this page was taken directly from http://wiki.mikrotik.com/wiki/Manual:IP/IPsec. We did not create this document and do not take responsibility for any possible outcome of using these directions. Site to Site IpSec Tunnel Consider ...
Mikrotik - Complete Setup Guide
**Disclaimer: This guide is provided by 3NG as a courtesy to its partners. You are using this guide at your own risk and 3NG is NOT responsible or liable for any issues that may occur from the use of this guide or a Mikrotik device. While we ...
Mikrotik - DNS DoS Attack Prevention
If you are experiencing high ping times and/or slower than normal internet speeds, you might be a victim fo a DNS DoS attack. This article will walk you through creating a firewall rule on Mikrotik routers to block this attack. Log into your Mikrotik ...
How to Disable SIP ALG on a Mikrotik
SIP ALG Explained Many of today's commercial routers implement SIP ALG (Application-level gateway), coming with this feature enabled by default. While ALG could help in solving NAT related problems, the fact is that many routers' ALG implementations ...