Special offer
Free Domain
English
+370 5 205 5502 sales@monovm.com

A step-by-step guide with pictures on how to use port forwarding on MikroTik routers.

27

Feb, 19

Port Forwarding on MikroTik

Imagine your an IT administrator. You created a big network and someone wants to remotely connect to the server and work remotely. You can’t share the server IP with him for security purposes. What should you do? In this situation, you should use port forwarding to handle all requests. Below we give a step-by-step guide how to configure port forwarding.

  1. Login to your own MikroTik server with admin privileges.
  2. Click on “IP” from the left side panel. In the opened submenu, click on “Firewall”.
  3. We should use “NAT” (Network Address Translation) tab to handle the packets that the router receive.
    5
  4. In the “NAT” tab, click on “+” item to create a rule.

Note: In this scenario, assume the router connect to IP (10.10.10.10) and we want to forward all requests from (10.10.10.10:5847) to the (20.20.20.20:4324).

  1. Click on “General” tab. Select “dstnat” from “chain” drop down list. In “Dst. Address” field type this IP (10.10.10.10). From “Protocol” list, select of the connection protocol like (TCP, xdp, ddp). In “Dst. Port” field, type 5847.
    6
  2. Click on “Action” tab. From action drop down list, select “dst-nat”. Type this IP (20.20.20.20) on the “To Addresses” filed and type 4324 on the “To Ports” field.
    7
  3. Click on apply and OK to save and add the rules.

Oliver K

I’m Oliver k. I have MS degree in Computer Engineering. For nearly 5 years that I have been working on web programing and also in last 2 years I have worked on windows and Linux VPS. This is my honor to share my experiences with a new community.