• Tech
  • News
  • Health

How to Forward Ports on Your Router


Although modern routers handle most functions automatically, some applications will require you to forward a port to that application or device manually. Fortunately, it’s really simple if you know where to look. In this guide, we’ll look into port forwarding and how to forward ports on your router.

What Is Port Forwarding?

Port forwarding, or tunneling, is the behind-the-scenes process of intercepting data traffic headed for a computer’s IP/port combination and redirecting it to a different IP and/or port. A program running on the destination computer (host) usually causes the redirection, but sometimes it can also be an intermediate hardware component, such as a router, proxy server, or firewall.

Let’s take a look at some things you need to learn.

How Your Router Handles Requests and Uses Ports

COPYRIGHT_NOVA: Published on https://www.novabach.com/how-to-forward-ports-on-your-router/ by Daniel Barrett on 2022-06-04T10:22:08.000Z

Here’s a map of a simple home network. The cloud icon represents the greater internet and your public, or forward-facing, Internet Protocol (IP) address.


This IP address represents your entire household from the outside world–like a street address, in a way. The red address is the router address within your network. The additional addresses all belong to the computers seen at the bottom of the image.

If your public IP address is like a street address, think of the internal IP addresses like apartment numbers for that street address.

So, where do ports come into this process? Ports are an old but valuable holdover from the early days of network computing. Back in the day, when computers could only run one application at a time, all you had to do was point one computer at another computer on the network to connect them as they would be running the same application.

Once computers became sophisticated to run multiple applications, early computer scientists had to wrestle with the issue of ensuring applications connected to the right applications. Thus, ports were born.

Some ports have specific applications which are standards throughout the computing industry. For example, when you fetch a web page, it uses port 80. The receiving computer’s software knows that port 80 is used for serving HTTP documents, so it listens there and responds accordingly.

If you send an HTTP request over a different port—say, 143—the webserver won’t recognize it because it’s not listening there (although something else might be, like an IMAP email server that traditionally uses that port).

Other ports don’t have pre-assigned uses, and you can use them for whatever you want. However, to avoid interfering with other standard-abiding applications, it’s best to use larger numbers for these alternate configurations. For example, Plex Media Server uses port 32400, and Minecraft servers use 25565—both numbers that fall into this “fair game” territory.

Each port can be used via either TCP or UDP. TCP, or Transmission Control Protocol, is what’s used most commonly. UDP, or User Datagram Protocol, is less widely used in home applications with one major exception: BitTorrent. Depending on what is listening, it’ll expect requests to be made in either one or the other of these protocols.

Don’t miss: How To Fix Netgear Router Not Working After Reset

Why You Need to Forward Ports

So why exactly would you need to forward ports? While some applications take advantage of NAT to set their ports and handle the entire configuration for you, there are still plenty of applications that do not. So you’ll need to give your router a helping hand when connecting services and applications.

For example, you were on your laptop somewhere in the world (with an IP address of, and you want to connect to your home network to access some files.

If you plug your home IP address ( into whatever tool you’re using (an FTP client or remote desktop application, for example), and that tool doesn’t take advantage of those advanced router features we just mentioned, you’re out of luck.

Also read: How To Easily Update Firefox On Mac And Windows

It won’t know where to send your request, and nothing will happen. This, by the way, is a great security feature. If somebody connects to your home network and isn’t connected to a valid port, you want the connection to get rejected.

That’s the firewall element of your router doing its job: rejecting unwelcome requests. However, if the person knocking on your virtual door is you, the rejection isn’t so welcome, and we need to tweak it.

To solve that problem, you want to tell your router, “hey: when I access you with this program, you’ll need to send it to this device at this port.” With those instructions in place, your router will ensure you can access the right computer and application on your home network.

So in this example, when you’re out and about and using your laptop, you use different ports to make your requests. When you access your home network’s IP address using port 22, your router at home knows that this should go to inside the network.

Then, the SSH daemon on your Linux installation will respond. At the same time, you can make a request over port 80, which your router will send to the webserver at

Or, you can try to control your sister’s laptop with VNC remotely, and your router will connect you to your computer at Then, you can easily connect to all the devices you’ve set up a port forward rule for.

The usefulness of port forwarding doesn’t end there, though! You can even use port forwarding to change existing services’ port numbers for clarity and convenience.

For example, you have two web servers running on your home network. You want one to be readily accessible (e.g., it’s a weather server you want people to be able to find easily), and the other web server is for a personal project.

When you access your home network from the public-facing port 80, you can tell your router to send it to port 80 on the weather server at, where it will be listening at port 80.

But, you can tell your router that when you access it via port 10,000, it should go to port 80 on your server,

The second computer doesn’t have to be reconfigured to use a different port. However, you can still manage traffic effectively—and at the same time, by leaving the first web server linked to port 80, you make it easier for people accessing your aforementioned weather server project.

Now that we know what port forwarding is and why we might want to use it, let’s take a look at some small considerations regarding port forwarding before diving into configuring it.

Don’t miss: The 5 Best Cheap Wireless Routers Under $50

Considerations Before Configuring Your Router

There are a few things to keep in mind before sitting down to configure your router, and running through them in advance is guaranteed to cut down on frustration.

Set Static IP Address for Your Devices

First and foremost, all your port forwarding rules will fall apart if you’re assigning them to devices with dynamic IP addresses assigned by your router’s DHCP service.

We dig into what DHCP is in this article on DHCP vs. static IP address assignments, but we’ll give you a quick summary here.

Your router has a pool of addresses that it reserves just for handing out to devices as they join and leave the network. Think of it like getting a number at a diner when you arrive—your laptop joins, boom, it gets IP address

Your iPhone joins; boom, it gets address If you take those devices offline for some time or the router is rebooted, then the whole IP address lottery happens all over again.

Under normal circumstances, this is more than fine. For example, your iPhone doesn’t care which internal IP address it has. But if you’ve created a port forwarding rule that says your game server is at a certain IP address and then the router gives it a new one, that rule won’t work, and nobody will be able to connect to your game server.

To avoid that, you must assign a static IP address to each network device you’re setting a port forwarding rule. The best way to do that is through your router—check out this guide for more info.

Know Your IP Address (and Set a Dynamic DNS Address)

In addition to using static IP assignments for the relevant devices inside your network, you also want to be aware of your external IP address—you can find it by visiting whatismyip.com while on your home network.

Although you might have the same public IP address for months or even over a year, your public IP address can change (unless your internet service provider has explicitly given you a static public-facing IP address).

In other words, you can’t rely on typing in your numeric IP address into whatever remote tool you’re using (and you can’t rely on giving that IP address to a friend).

Now, while you could go through the hassle of manually checking IP addresses each time you leave the house and intend to work away from home (or every time your friend is going to connect to your Minecraft server or the like), that’s a big headache.

Instead, we highly recommend setting up a Dynamic DNS service that will allow you to link your (changing) home IP address to a memorable address like mysuperawesomeshomeserver.dynu.net.

For more information on setting up a dynamic DNS service with your home network, check out our full tutorial here.

Also read: How to Setup a Router without a Modem

Pay Attention to Local Firewalls

Once you set up the port forwarding on the router level, there is a possibility that you may need to tweak firewall rules on your computer too.

For example, we’ve gotten a lot of emails over the years from frustrated parents setting up port forwarding so their kids can play Minecraft with their friends.

In almost every case, the problem is that despite setting up the port forwarding rules on the router correctly, somebody ignored the Windows firewall request asking if it was OK if the Java platform (that runs Minecraft) could access the greater internet.

Be aware that on computers running a local firewall and/or anti-virus software that includes firewall protection, you’ll likely need to confirm the connection you’ve set up is okay.

If you found this article helpful, kindly leave a comment in the comment section.

Editor’s picks:

Share: Twitter | Facebook | Linkedin

About The Authors

Daniel Barrett

Daniel Barrett

Recent Articles

  • Here Are A Number Of Easy Tips To Secure A Crypto Wallet!


    Here Are A Number Of Easy Tips To Secure A Crypto Wallet!

    There are different ways in which one can generate a side income along with permanent income, and there is one way that is popular in this modern world is a crypto investment.

  • Some Top Tips For Selecting The Best Crypto Wallet!


    Some Top Tips For Selecting The Best Crypto Wallet!

    Bitcoin is an asset that is the most acceptable thing in this modern world, and it contains all that a user needs in the payment mode or investment.

  • IoT Has Shaken Up The IGaming Industry In An Immensely Positive Way: Here Is How


    IoT Has Shaken Up The IGaming Industry In An Immensely Positive Way: Here Is How

    The Internet of Things is gradually gaining traction in our everyday lives. We are now living in a world where our cars can talk to us, our thermostats can be controlled remotely, and even our homes can be monitored while we are away.

  • Logitech Quickcam Vision Pro Driver Windows 7 - Video Chat With A Single Click


    Logitech Quickcam Vision Pro Driver Windows 7 - Video Chat With A Single Click

    If you want to know more about the Logitech Quickcam Vision Pro Driver Windows 7, then this is the article for you. Logitech QuickCam Vision Pro, which is one of the company's most high-end models of webcams, as well as our analysis of its performance, benefits, and technical specifications in greater detail. Make a video call with the click of a button using Logitech QuickCam Vision Pro with 720p HD quality that will provide pure picture sharpness and clarity that is so real all thanks to Carl Zeiss optical technology.

  • Blackberry Z10 Software Problem - Easy Steps To Fix Them


    Blackberry Z10 Software Problem - Easy Steps To Fix Them

    Just like any other phones, you probably have encountered a Blackberry Z10 software problem. In this article we will discuss more about it. The BlackBerry Z10 runs the new BlackBerry 10 (currently 10.3.3) QNX-based mobile operating system. BB 10's user interface is based on the concept of direct manipulation, which employs multi-touch gestures. Interaction with the OS includes a variety of multi-touch gestures, each with its own definition in the context of the BB10 operating system and its multi-touch interface.

  • Best Gaming Chair On Amazon - Find The Best Chair Online


    Best Gaming Chair On Amazon - Find The Best Chair Online

    If you are curious about the best gaming chair on Amazon, then continue reading. There's no reason to overlook the importance of a good desk chair, whether you're a gamer or an office worker. If you have an ergonomic chair instead of a lumpy couch, you will be more relaxed and at ease. If the chair you're sitting in isn't providing neck and back support, you should get a new one right away. Long periods of sitting in an uncomfortable chair could be hazardous to one's health. Furthermore, your backbone will undoubtedly suffer. Aside from the obvious issue of your health, there are other potential consequences of an uncomfortable chair.

  • OSRS Unlocking Guardians Of The Rift


    OSRS Unlocking Guardians Of The Rift

    Welcome to yet another of our gamer guides! One page at a time, we offer gamers the opportunity to better their skills and soar to new heights of excellence.

  • All The Different Ways To Gamble Online: Why People Prefer To Gamble On Their Smartphones


    All The Different Ways To Gamble Online: Why People Prefer To Gamble On Their Smartphones

    Technology has blessed us with an infinite number of options. Today, nearly everything exists on the internet.

  • 4 Best Apps For Budgeting

    Software & Apps

    4 Best Apps For Budgeting

    Keeping a personal budget is a great idea. You will be aware of the movement of money, optimize expenses and find a source for investments. The main thing is to choose a convenient way to manage your personal budget and always remember what you are doing it for. You'll learn what budgeting apps are available for Mac, iPad, and iPhone in this article. Without further ado, let's get started.

  • New Technology Is Restoring Cells In Pigs After Death

  • Ultra-Processed Foods - How It Can Lead To Colorectal Cancer

  • New Pneumonia-fighting Microbots that Could Spell The End Of The Disease

  • Big Pharmas Are Developing New Treatments To Prevent Blood Clots For A $55 Billion Prize

  • A Drug From Two Biotech Companies Slowed Cognitive Decline By 27%