DED9

Configuring MikroTik Port forwarding

If you are looking for a way to access your internal or local network resources or services from outside the network, the port forwarding technique in Mikrotik is one of the best solutions.

Port forwarding in Mikrotik is the same technology that helps employees of a company and organization and users to access and use internal network services and domains without being physically present in the place and at a point outside the local area.

In this article, you will first get to know the concept of Mikrotik and its importance, and then the steps you need for port forwarding and access to internal network addresses will be reviewed. So let’s get started asap:

What is Mikrotik?

 

As a manufacturer of routers and wireless, Mikrotik plays an important role in the network field. One of its products is a powerful router that acts as an interface between external users and internal services and increases the speed and flexibility of the network. This router has an independent operating system called Router OS, which is based on Linux. Although it is used with network equipment, this is not the only thing that MikroTik RouterOS can do, and it is more than an operating system for routers.

In this way, installing this operating system on a PC turns that personal system into a router with all the necessary features such as routing, Firewall, bandwidth management, VPN server, etc.

A system that benefits from RouterOS also gives power to other devices and equipment in the network and has high flexibility in network management. Mikrotik is suitable for use by ISPs and hotspot providers due to its features suitable for IP and wireless networks.

Of course, keep in mind that buying a Mikrotik virtual server to perform tasks related to routing, data protection, etc., is something that most network administrators do to increase the security and efficiency of their equipment.

 

 

Suppose you also care about these criteria, and upgrading the performance and quality of network work is important to you. In that case, you can look at the Mikrotik virtual server purchase page of Ded9.com Company and, by viewing the features and price of the plans, make your decision to step on the same path.

But the feature you teach in this article is how to configure port forwarding in Mikrotik, which of course, is better to mention the importance of this feature before checking the steps of this process.

What is port forwarding in Mikrotik, and why do we need it?

 

Port forwarding in Mikrotik or port mapping is a NAT application that redirects data traffic from the Mikrotik router’s IP/port combination to another internal or local IP or port. For example, if you have a web server or FTP server in your dedicated/local area and you want to access this server from a point outside your local area, you can use this trick.

A Mikrotik router or any system running RouterOS can easily do this process.

So, with port forwarding, you can assign a specific port to a specific service so that the intended user can only access that service by entering the port number of his software or browser.

Of course, port forwarding has other uses, such as outsourcing the domain or internal IP address, making the home or business network available to other computer devices on the Internet, and responding to users’ requests to access a virtual or dedicated server without sharing the IP address. And also, setting up security cameras or downloading files are among the most important.

Configuring port forwarding in Mikrotik is not very difficult, and if you follow the rest of the article, you will find that you can easily handle this task.

How to port forwarding in Mikrotik

Before anything else, let’s point out that you have two ways to connect to the router:

  1. Enter the IP address of the router in the browser and go to the Webfig section as an admin
  2. Using Winbox

Note) Winbox is one of Mikrotik’s special server tools that provides a simple graphical interface that helps the administrator to perform management actions more easily and quickly. To use this program, it is enough to download it from the inbox page of the Mikrotik website and then enter your user area by running it, entering the router’s IP or mac address, and clicking the connect button.

After you enter the desired section in these two ways, you will come across this page:

 

Step 1 – From the right section, click on IP.

Step 2 – From the opened menu, click on Firewall.

Step 3 – Click on NAT from the top tabs.

Step 5 – To create a new rule, click on the + sign or add a new one.

Step 6 – Now, it’s time to enter the IP address and port and set the protocol.

Note) When buying a Mikrotik router from the provider, a public and unique IP is also provided with it, which is required in this section.

Click on the General tab.

 

From the chain drop-down list, select distant.
In the Address section, enter the address of the Mikrotik router.
Select the connection protocol from the list in the Protocol section, for example, TCP.
In the Port field, enter the port number you want to forward requests to another address. (e.g., 2356)

Step 7 – Now click on the Action tab.

 

Select DST-nat from the Action drop-down list.

In the To Addresses section, enter the address to which you want to forward all requests.

In the To Ports section, enter your desired port for forwarding requests. (e.g., 6782)

Step 8 – Finally, click Apply and OK to save the information and add a new rule.

Finally, by implementing these steps, the port forwarding operation in Mikrotik is successfully performed. The requests sent to the router’s public address with the desired port are forwarded to the address with the new port.

Conclusion

Under special conditions, people who work in the network field need to access internal resources and domains from outside the network and perform the necessary operations. Port forwarding in Mikrotik is one of the best effective ways in this field and can be implemented in a few simple steps.

Thank you for staying with us until the end of the article. We hope that reading this article was useful for you. If you have any questions or requests and need guidance, you can contact us by registering your opinion so that we can answer you as soon as possible.

 

 

 

 

 

 

 

 

Exit mobile version