How to Port Forward | Digital Trends (2024)

Port forwarding is a solution to a problem that many gamers know all too well: You attempt to join a friend in an online match but can’t because your connection to the gaming network is limited, blocking specific multiplayer features. It can even fix issues you run into when you host files on a private server and remote users can’t connect.

Contents

  • What is a port?
  • What is port forwarding?
  • How to port forward

The problem in both scenarios stems from how data flows to and from your local network. Your networking hardware manages traffic, preventing unfamiliar, possibly malicious connections. That sometimes means you can’t make out-of-the-ordinary direct connections without manually changing settings.

Recommended Videos

This guide shows you how to port forward and get the best connection possible to your favorite online services.

Related

  • How to convert your VHS tapes to DVD, Blu-ray, or digital
  • The most common Chromebook problems and how to fix them
  • GPU prices and availability (Q1 2024): How much are GPUs today?

What is a port?

In networking, a port is a specific “dock” at a known address, which data can be funneled through to make a connection between two devices. Each port has a specific number ranging from 0 to 65535 so the data knows exactly where to go when it reaches its destination.

Here are a few common ports assigned by the Internet Assigned Numbers Authority standards organization:

  • 20 = File Transfer Protocol (FTP)
  • 21 = File Transfer Protocol (FTP)
  • 22 = Secure Shell (SSH)
  • 25 = Simple Mail Transfer Protocol (SMTP)
  • 53 = Domain Name System (DNS)
  • 80 = Hypertext Transfer Protocol (HTTP)
  • 110 = Post Office Protocol v3 (POP3)
  • 143 = Internet Message Access Port (IMAP)
  • 443 = Hypertext Transfer Protocol over TLS/SSL (HTTPS)

For instance, an email you send leaves your modem on port 110, bounces across multiple hops as it darts through the internet, and arrives at its destination. It then goes through that network’s router and is directed through port 110 before being officially received by the email client.

For a guide on exactly what FTP is and how to use it, check out our in-depth tutorial.

What is port forwarding?

Your internet service provider (ISP) assigns a dynamic numeric address to your modem. The internet doesn’t see your local devices — only your modem. This address rarely changes, but it’s also not permanent (static).

ISPs typically provide hardware in two ways: A single hybrid unit combining a modem with a router, or two separate stand-alone units. With the latter setup, a physical Ethernet cable connects the modem to the router’s Wide Area Network (WAN) port.

Why do we even need a router? Because a modem only provides one physical internet connection. A router enables you to connect multiple wired and wireless devices.

In both scenarios, the router has a unique address separate from the modem, typically with 192.168.x.x. or 10.x.x.x address — these addresses differ from router to router. In turn, it assigns IP addresses to each locally connected device based on its address, not the modem. For instance, if the router’s address is 192.168.0.1, then the addressing for all connected devices start at 192.168.0.2. It then routes all traffic to the client devices using those assigned addresses.

Here’s a simplified look:

Internet server > modem > router > your PC

But the router doesn’t merely translate and route traffic. It also features a built-in firewall that monitors inbound and outbound communication. If the router doesn’t know where to send inbound or outbound traffic, it simply ignores the communication.

All local devices have identical ports that send and receive data packets, which can be problematic. For instance, port 80 is one of the commonly used ports under the Transmission Control Protocol (TCP) umbrella. This port routes web page requests, but it is also used by Xbox Live and the PlayStation Network.

When the router receives data, it checks its list of assigned addresses to determine the best match. Since you need Xbox Live’s packets sent via port 80 to reach your Xbox One console or Windows 10 PC, creating a direct line between the Xbox Live servers and your console is essential. That means creating a special rule within the router that allows a secure, direct connection.

That’s where port forwarding begins.

How to port forward

Unfortunately, router interfaces are not identical across all available models, so how you find the port forwarding section may be different than what we show here. For this example, we use a Linksys router, which crams port forwarding in the Security section.

Assign a “static” IP address

Before you can forward ports, you need to access the router’s backend interface. Simply type the router’s local address into a browser and sign in using your credentials. If you don’t know the address and/or credentials, the manual typically provides that information.

Once you gain access, create a “static” IP address for the device that will receive the forwarded traffic. Normally the router assigns dynamic IP addresses to each connected device, meaning these addresses will change. To forward a port, however, a device needs a permanent address so the router knows exactly where the inbound traffic must go.

Modern routers typically provide a “network map” listing all connected devices. In our example, we can select a connected device and click Reserve DHCP Address in a pop-up menu. That action automatically reserves the current address, making it “static” for that specific device.

How to Port Forward | Digital Trends (1)

To manually edit the static address, we can select the device again and this time click Edit DHCP Reservation.

How to Port Forward | Digital Trends (2)

In the following window, we can alter the third and fourth fields and then click the Save link. We can also click the Cancel link followed by Delete to remove the static IP address assignment later.

How to Port Forward | Digital Trends (3)

Now that we have a static IP address, we can forward port traffic.

Meet the three forwards

On our Linksys router, port forwarding resides under the Apps and Gaming tab in the Security section. Here we see three options: Single Port Forwarding, Port Range Forwarding, and Port Range Triggering. Here is a brief explanation of each:

  • Single Port Forwarding – Continuously forward traffic to one specific device through one specific port. These ports remain open.
  • Port Range Forwarding – Continuously forward traffic to one specific device through a range of ports. These ports remain open.
  • Port Range Forwarding – Forward traffic accessible by all network devices through a range of ports. These ports remain closed until access is requested.

Now let’s see how to use each version!

Single Port Forwarding

How to Port Forward | Digital Trends (4)

To start, we will add a single port range. Remember, the following steps may look different on your router, but the method should be similar.

Step 1: Click the Add a new Single Port Forwarding button.

Step 2: Enter an application name. This doesn’t affect the port forwarding itself but is only used as a label. In this case, we call it Xbox Live Port 88.

Step 3: Enter the External Port and Internal Port numbers. In this case, we are forwarding port 88, so that’s the number we enter in both.

Step 4: Select the protocol: UDP, TCP, or Both. For Xbox Live, we must select UDP.

Knowing what these two protocols are is irrelevant, but you do need to know the correct protocol to successfully forward ports. Port forwarding won’t work if you have the rule set at TCP but the connection uses UDP.

However, for the curious, here is a brief explanation of each:

  • Transmission Control Protocol (TCP) – Connection-based data transfer between client and server.
  • User Datagram Protocol (UDP) – Data transfer between client and server that doesn’t use a direct connection.

Step 5: Enter the Device IP Address. This is the static address we assigned to the source device in the Network Map.

Step 6: Click the Save link followed by the OK button.

Unfortunately, to get the best possible connection, Xbox Live requires additional ports to be open. There are seven in all, requiring you to make six additional Single Port Forwarding entries. Here is the complete list:

  • 53 (Both)
  • 80 (TCP)
  • 88 (UDP)
  • 500 (UDP)
  • 3074 (Both)
  • 3544 (UDP)
  • 4500 (UDP)

The list for port forwarding with the PlayStation Network is longer:

  • 80 (TCP)
  • 443 (TCP)
  • 465 (TCP)
  • 993 (TCP)
  • 3478 (Both)
  • 3479 (Both)
  • 3480 (TCP)
  • 5223 (TCP)
  • 8080 (TCP)

Port Range Forwarding

How to Port Forward | Digital Trends (5)

In addition to single ports, many games require a range of ports for the best online experience, like Fortnite and Fallout 76. In this example, we will select the Port Range Forwarding option and add a port range required by Fortnite on Windows 10.

Step 1: Click the Add a new Port Range Forwarding button.

Step 2: Enter the application name. Here we call this rule Fortnite Range.

Step 3: Enter 5795 as the Start Port and 5847 as the End Port.

Step 4: Select Both as the required protocol.

Step 5: Enter the Device IP Address. This is the static address we assigned to the source device in the Network Map.

Step 6: Click the Save link followed by the OK button.

Unlike Xbox Live and the PlayStation Network, Fortnite for Windows requires both single port and port range entries, but the list is way shorter:

  • 5222 (Both)
  • 5795-5847 (Both)

Port Range Triggering

How to Port Forward | Digital Trends (6)

This is a more secure option than leaving ports open continuously. In this case, ports remain closed until a client device makes an outbound connection request. The router’s firewall then opens the related inbound connection ports temporarily. This method does not require static IP addresses, but only one client at a time can access an open port

Step 1: Click the Add a new Port Range Triggering button.

Step 2: Enter the application name. Here we call this Fortnite Range.

Step 3: Under Triggered Range, enter 5795 as the Start Port and 5847 as the End Port.

Step 4: Under Forwarded Range, enter 5795 as the Start Port and 5847 as the End Port.

Step 5: Enter the Device IP Address. This is the static address we assigned to the source device in the Network Map.

Step 6: Click the Save link followed by the OK button.

Editors' Recommendations

  • Prebuilt vs. custom PC: How to know which is right for you
  • How to make a GIF from a YouTube video
  • How to add a signature in Gmail on desktop and mobile
  • How to clean a laptop screen without scratching it
  • How to get Wi-Fi access anywhere at any time
How to Port Forward | Digital Trends (2024)

FAQs

How to port forward correctly? ›

To forward ports on your router, log into your router and go to the port forwarding section. Next, enter the port numbers and your device's IP address. Choose a forwarding protocol and save your changes. Note: If you don't see a port forwarding option in your router's settings, you might have to upgrade.

How to know what port to use for port forwarding? ›

You do this by finding the IP address of the computer running your website and setting a rule to forward all traffic on port 80 to that IP address. You can also specify the port you forward the data to. For example, if you run the website on port 8080, you can forward it to that port.

What is the best way to forward ports? ›

How to open ports on a router
  1. Access your router's web interface. Navigate to your router's configuration page by typing the router's IP address into your browser.
  2. Log in to your router. ...
  3. Find the port forwarding section. ...
  4. Add a new port forwarding rule. ...
  5. Save the changes.
Jun 19, 2023

What is an example of port forwarding? ›

Local Port Forwarding

For example, suppose a user wants to access a web server (port 80) located on a remote server with IP address 192.168. 1.100, but direct access to port 80 is blocked. The user can use local port forwarding to redirect local port 8080 to the remote server's port 80.

How do I port forward for beginners? ›

Working with your Router
  1. Go to System Preferences > Network to find the IP address of your router. ...
  2. Copy the IP address and paste it into a browser window. ...
  3. Navigate to the Port Forwarding section of your router's interface. ...
  4. Some routers will ask you to select the device you want to port forward to.

How do I know if my port forwarding is correct? ›

We recommend using a reliable port forward tool like www.portchecktool.com. The port forward checker tool is a valuable resource for network troubleshooting. It helps you check whether your ISP (Internet Service Provider) is blocking specific ports, such as the commonly restricted HTTP port 80 and SMTP port 25.

How many ports for port forwarding? ›

All requests to port 80 on your WAN ip will be redirected to port 9042. What ports can I use for port forwarding? Technically, any port you want from 1 to 65535. But, for non-standard services, it is recommended to use the ports above 1024.

How to port forward without router access? ›

You can follow these steps to utilize a port forwarding tool:
  1. Download the device of your choice.
  2. Open the tool and find the option for creating a new rule.
  3. Select whether to use UDP or TCP.
  4. Input the external and internal ports you wish to open.
  5. Save your changes and test them out.
Apr 2, 2024

Why can't I port forward? ›

Check port forwarding settings on your router to ensure they are correct. Test the internal connection by accessing the device/service within your network. Test the external connection using an external device or online port-checking tool. Verify that firewall settings allow incoming connections on the forwarded ports.

Is it risky to port forward? ›

Is port forwarding safe? Port forwarding inherently gives people outside of your network more access to your computer. Giving access or accessing unsafe ports can be risky, as threat actors and other people with malicious intents can then easily get full control of your device.

Is it better to port forward or port trigger? ›

The choice between both techniques depends on your need for opening ports. For the single-device port opening, it is best to use port forwarding, but if your need for opening ports is for multiple devices, then port triggering will suit you the best.

Do you need static IP for port forwarding? ›

Any port forwarding configuration you make on your router needs to be fixed to a certain IP address, so it's important that it doesn't change.

What is port forwarding explained simply? ›

Port forwarding, also known as port management, allows remote servers and devices on the internet to be able to access devices that are on a private network. If you are not using port forwarding, only devices on that private internal network can have access to each other or your network.

Is there a safe way to port forward? ›

Using a VPN to forward ports is a way to deal with the risks that forwarding ports on a router puts your devices and data in, such as hacks, data corruption and/or theft, and malware infections.

How do I forward port 25 to 587? ›

Using port 587 won't work - that's for authenticated submissions (hint: the port is named that) from client software. Not for SMTP server to SMTP server communication. You have to tell your ISP to open port 25. Any business ISP should cater to such a request.

Is it OK to port forward? ›

To make a long story short, there are some risks of port forwarding. If you are opening ports, then you are opening direct lines for hackers and malware attacks in a way. That's why you must take safety precautions when you are port forwarding devices. This is where a VPN, or Virtual Private Network, becomes helpful.

Should I forward port 80? ›

Summary. Opening port 80 on your firewall is no different than opening port 443, provided the web server is configured to redirect the traffic to a secure port. This also ensures users connecting on port 80 do not get connection errors.

Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 5419

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.