Port Forward in Mikrotik Router

If  you have a DVR that has a static IP of 192.168.1.200, and you need to forward port 3999, follow the next steps, using Winbox:

  1. Go to IP -> Firewall -> NAT
    how-to-port-forward-in-mikrotik-routor-1
  2. Click the “+” to add a new NAT rule. Modify the “Chain” to “dstnat”, “Protocol” to “tcp”, and “Dst. Port” to “3999”. Set the “In. Interface” to your WAN port. (Note: You are telling the router that any traffic coming IN from the Internet on port 3999 should follow this rule. If you forget this step, the router will grab ANY traffic on port 3999 and send it to the IP you specify in the next step)
    how-to-port-forward-in-mikrotik-routor-2
  3. Click the “Action” tab, change the “Action” value to “dst-nat”, the “To Addresses” to “192.168.1.200” and “To Ports” to “3999”
    how-to-port-forward-in-mikrotik-routor-3

If you want to use terminal, follow the next step:

/ip firewall nat
add action=dst-nat chain=dstnat disabled=no dst-port=3999 in-interface=ether1-gateway protocol=tcp to-addresses=192.168.1.200 to-ports=3999

Source
 

 

One Comment

Adaugă un răspuns

Your email address will not be published. Required fields are marked *