Skip to main content
  1. Home
  2. Computing
  3. Evergreens

How to port forward

Add as a preferred source on Google

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.

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.

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.

Reserve DHCP Address
Image used with permission by copyright holder

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

Edit DHCP Reservation
Image used with permission by copyright holder

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.

Manually Edit DHCP Reservation
Image used with permission by copyright holder

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

Single Port Forwarding
Image used with permission by copyright holder

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

Fortnite Port Forwarding Range
Image used with permission by copyright holder

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

Port Range Triggering
Image used with permission by copyright holder

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.

Kevin Parrish
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
HP has a new $799 mini PC for fans of the Mac mini form factor
The OmniDesk Mini puts Wildcat Lake inside a tiny desktop that starts at $799
HP OmniDesk Mini Desktop

HP has a new mini PC on sale in the U.S., and it is difficult to look at the machine without thinking of Apple's Mac mini. The OmniDesk Mini has a similarly compact footprint and starts at $799.99, making it $100 cheaper than the recently announced M6 Mac mini.

The similarities mostly stop there. The base OmniDesk Mini is powered by Intel's Core 3 304, a five-core, five-thread Wildcat Lake processor. It comes with 8GB of LPDDR5X memory and a 256GB SSD. HP also offers Core 5 320 configurations with up to 16GB of memory. So, despite the Mac mini-like dimensions, this is better viewed as a compact Windows PC than a direct rival to Apple's latest desktop.

Read more
Exclusive: Microsoft explains why RTX Spark’s Prism emulation is about more than higher FPS
Because an erratic 80 FPS will always feel worse than a silky-smooth 60.
ARC Raiders with Anti-Cheat Support running on NVIDIA RTX Spark Laptop

NVIDIA’s RTX Spark may pack a powerful Blackwell GPU, but its ability to run the massive library of existing PC games on Arm depends on a quieter piece of technology: Microsoft’s Prism emulator. Prism allows x64 Windows games and applications to run on RTX Spark’s Arm-based CPU without requiring developers to immediately rewrite them for ARM64.

During an exclusive conversation at NVIDIA’s private IFA 2026 demo, Microsoft’s Peter Dawoud explained that the latest Prism work isn't just about pushing emulated workloads to higher FPS. Microsoft is also focused on performance consistency, particularly in GPU-heavy games where the CPU still has to coordinate frames, physics, and rendering. Because a higher average FPS doesn't always mean a smoother experience, that could prove to be one of Prism’s most important improvements yet.

Read more
The best screenshot app for Mac just became a screen recording powerhouse
CleanShot X already made screenshots easy. Now it wants to make screen recording and editing just as painless.
CleanShot-X-version-5-running-on-Mac

CleanShot X is the best screenshot app for Mac. It's one of my favorite Mac apps, and I've already covered all its features in a previous article. The app just received its 5.0 update, and it's such a massive release that I had to write about it.

CleanShot X already had a built-in screen recording feature, but it was pretty bare-bones. With this update, the app has grown into a proper screen recording studio. You can now record your Mac's screen, edit that recording, add zooms and backgrounds, and do a whole lot more without ever leaving the app.

Read more