Port Forwarding Tutorial

Most of our products support the UDP protocol. In order to test UDP communication with one of our product in the local server, we will need to play with port forwarding settings in our router. We can use the UDP protocol over both local and remote server. Local server refers to your own machine while the remote server is another machine/computer.

The steps are as follows:

  1. Login to you routers configurations, by going to this is the address for router configurations, might change for some router) from your Internet browser and login with your own credentials. Port Fowarding 01
  2. Now scroll down at Basic Status page to find your IP address of your connection (which is mentioned as dsl_internet in our case). We will need it later.Port Forwarding 02
  3. Now click on Forwarding form the option list and then click Virtual Server.
  4. Then click on Add New, which will take you to the following screen. Now fill up Service Port(as desired, in our case it is 5000), IP Address(It is IP Address of your Computer/Laptop. Check the note below if you don’t know how to obtain your IP Address) and select Protocol(as UDP or TCP according to your requirement). Click Save.
    Port Forwarding 03
    Note: Open your terminal and run ifconfig command to obtain your IP Address. This is applicable for linux users. Windows user can type ipconfig in cmd command.

For suggestions and questions, please use the comment section below.

3 thoughts on “Port Forwarding Tutorial

  1. Hi,

    I’m using a Netgear R7000 router that does not have a ‘virtual server’ option. Is there another way set up this test? I do have port forwarding.


  2. Hi,
    I am new to networking
    I realise a lot of nb-iot devices use private ip when connecting to the telco.
    Usually, it is recommended to use a public ip address. In this case, are we setting a public server or smth? Is it creating a public server or similar to the concept?

Leave a Reply

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