How to Forward Ports on Your Router (2024)

Specific ports must be open on your router for some video games and programs to work properly. Although the router has some ports open by default, most are closed and only usable if you manually open these ports. When your online video games, file server, or other networking programs don't work, access the router and open the specific ports that the application needs.

How to Forward Ports on Your Router (1)

How Do You Set Up Port Forwarding?

The traffic that passes through your router does so through ports. Every port is like a special pipe made for a specific kind of traffic. When you open a port on a router, it allows a particular data type to move through the router.

The act of opening a port, and choosing a device on the network to forward those requests to, is called port forwarding. Port forwarding is like attaching a pipe from the router to the device that needs to use the port—there's a direct line-of-sight between the two that allows data flow.

For example, FTP servers listen for incoming connections on port 21. If you have an FTP server set up that nobody outside your network can connect to, open port 21 on the router and forward it to the computer you use as the server. When you do this, that new, dedicated pipe moves files from the server, through the router, and out of the network to the FTP client that's communicating with it.

How to Forward Ports on Your Router (2)

The same is true for other scenarios like video games that need the internet to communicate with other players, torrent clients that require specific ports to be open for uploading files, and instant messaging applications that only send and receive messages through a specific port.

Every networking application needs a port to run on, so if a program or application isn't working when everything else is set up correctly, open the port on the router and forward requests to the right device (for example, a computer, printer, or game console).

Port range forwarding is similar to port forwarding but is used to forward an entire range of ports. A certain video game might use ports 3478 through 3480, for example, so instead of typing all three into the router as separate port forwards, forward that whole range to the computer running that game.

Below are two primary steps you need to complete to forward ports on a router. Because every device is different, and because there are many router variations, these steps are not specific to any device. If you need additional help, refer to the user manual for the device, for example, the user guide for your router.

Give the Device a Static IP Address

The device that will benefit from the port forward needs to have a static IP address. This way, you don't have to change the port forwarding settings each time it obtains a new IP address.

For example, if your computer runs torrenting software, assign a static IP address to that computer. If your gaming console uses a specific range of ports, it needs a static IP address.

There are two ways to do this: from the router and from the computer. When you set up a static IP address for your computer, it's easier to do it there.

Use Your Computer to Set Up a Static IP Address

To set up a Windows computer to use a static IP address, first identify which IP address it's using currently.

  1. Open Command Prompt on the computer.

    How to Forward Ports on Your Router (3)

  2. Type this command, then select Enter:

     ipconfig /all

    How to Forward Ports on Your Router (4)

  3. Record the following: IPv4 Address, Subnet Mask, Default Gateway, and DNS Servers.

    How to Forward Ports on Your Router (5)

If you see more than one IPv4 Address entry, look for the one under a heading like Ethernet adapter Local Area Connection, Ethernet adapter Ethernet, or Ethernet LAN adapter Wi-Fi. Ignore anything else, like Bluetooth, VMware, VirtualBox, and other non-default entries.

Now, you can use that information to set up the static IP address.

  1. Open the Run dialog box with the WIN+R keyboard shortcut, enter ncpa.cpl, and select OK to open Network Connections.

    How to Forward Ports on Your Router (6)

  2. Right-click or tap-and-hold the connection that has the same name as the one you identified in Command Prompt. For example, Ethernet0.

  3. Select Properties from the menu.

    How to Forward Ports on Your Router (7)

  4. Choose Internet Protocol Version 4 (TCP/IPv4) from the list, then select Properties.

    How to Forward Ports on Your Router (8)

  5. Select Use the following IP address.

    How to Forward Ports on Your Router (9)

  6. Enter the details you copied from Command Prompt: IP address, subnet mask, default gateway, and DNS servers.

    How to Forward Ports on Your Router (10)

  7. Choose OK when you're done.

    How to Forward Ports on Your Router (11)

If you have several devices on your network that get IP addresses from DHCP, don't reserve the same IP address you found in Command Prompt. For example, if DHCP is set up to serve addresses from a pool between 192.168.1.2 and 192.168.1.20, configure the IP address to use a static IP address that falls outside that range to avoid address conflicts. For example, use 192.168.1.21 or above. If you're not sure what this means, add 10 or 20 to the last digit in your IP address and use that as the static IP in Windows.

You can also set up a Mac to use a static IP address, as well as Ubuntu and other Linux distributions.

Use Your Router to Set Up a Static IP Address

Another option is to use the router to set up a static IP address. Do this when a non-computer device needs an unchanging address (like a gaming console or a printer).

  1. Access the router as admin.

    How to Forward Ports on Your Router (12)

  2. Locate a Client List, DHCP Pool, DHCP Reservation, or similar section of the settings.The section lists the devices currently connected to the router. The IP address of the device is listed along with its name.

    How to Forward Ports on Your Router (13)

  3. Look for a way to reserve one of those IP addresses to tie it with that device so that the router always uses it when the device requests an IP address. You might need to select the IP address from a list or choose Add or Reserve.

The above steps are generic since static IP address assignment is different for each router, printer, and gaming device. Instructions differ if you need to reserve IP addresses for NETGEAR routers, edit DHCP settings on Google devices,or configure DHCP reservation on Linksys routers.

To make your public IP address static so that you can access your devices from an outside network, pay for a static IP. A workaround involving setting up a dynamic DNS service is just as helpful.

Set Up Port Forwarding

Now that you know the device's IP address and configured it to stop changing, access the router and set up the port forwarding settings.

  1. Log in to the router as admin. You need to know the router's IP address, username, and password.

    How to Forward Ports on Your Router (14)

  2. Locate the port forwarding options. These are different for every router but might be called something like Port Forwarding, Port Triggering, Applications & Gaming, or Port Range Forwarding. These might be buried within other categories of settings like Network, Wireless, or Advanced.

    How to Forward Ports on Your Router (15)

  3. Type the port number or port range that you want to forward. If you're forwarding one port, type the same number under both the Internal and External boxes. For port ranges, use the Start and End boxes.

    Most games and programs indicate which ports must be open on the router. If you don't know what numbers to type here, PortForward.com has a list of common ports.

    How to Forward Ports on Your Router (16)

  4. Choose a protocol, either TCP or UDP ports. Choose both, if needed. This information should be available from the program or game that explains the port number.

    How to Forward Ports on Your Router (17)

  5. Type the static IP address you chose.

    If asked, name the port trigger anything that makes sense to you. If it's for an FTP program, call it FTP. Call it Medal of Honor if you need the port open for that game.

    How to Forward Ports on Your Router (18)

  6. Enable the port forwarding rule with an Enable or On option.

Here's an example of what it looks like to forward ports on a Linksys WRT610N:

How to Forward Ports on Your Router (19)

Some routers have a port forward setup wizard that makes it easier to configure. For example, the router might first give you a list of devices already using a static IP address and then let you choose the protocol and port number from there.

More port forwarding instructions:

More on Open Ports

If forwarding a port on your router doesn't allow the program or game to work on your computer, find out if a firewall program blocked the port. The same port needs to be open on the router and your computer for the application to use it.

How to Forward Ports on Your Router (20)

To see if the Windows Firewall is blocking a port that you opened on the router, temporarily disable the firewall and then test the port again. If the port is closed on the firewall, edit some firewall settings to open it.

When you open a port on the router, traffic can flow in and out of it. When you scan the network for open ports, you should see everything that's open from the outside. There are websites and tools build specifically for this.

Here are some reasons why you would check for open ports:

  • To avoid getting into the router to check.
  • To make sure the port opened correctly when a program or game isn't working.
  • To make sure a port you closed is actually closed.

How to Forward Ports on Your Router (21)

Several places offer a free open port checker. PortChecker.co and NetworkAppers have online port checkers that scan a network from the outside. Another option is to download Advanced Port Scanner or FreePortScanner to scan devices within your private network.

Only one port forward can exist for every instance of that port. For example, if you forward port 3389 (used by the Remote Desktop remote access program) to a computer with the IP address 192.168.1.115, that same router can't also forward port 3389 to 192.168.1.120.

In cases like this, the only solution, if possible, is to change the port the program uses. This may be possible from the software settings or through a registry hack. In the RDP example, if you edit the Windows Registry on the 192.168.1.120 computer to force Remote Desktop to use a different port like 3390, you could set up a new port forward for that port and use Remote Desktop on two computers within the same network.

FAQ

  • How do I port forward Minecraft?

    Log in to your router and navigate to its port forwarding section. Enter your computer or gaming console's IP address and Minecraft's TCP and UDP ports. Minecraft on a PC uses 25565 (TCP) and 19132-19133, 25565 (UDP).

  • How do I set up port forwarding to an Xbox One?

    Go to Settings > Network > Advanced Settings and note your console's IP address. Log in to your router and enter the console's IP address. On your console, go to Settings > Network > Test Network Connection and follow the connection prompts. Go to your router's port forwarding tools and open 88,500,3544,4500 (for UDP), and 3074 (TCP). Go back to Settings > Network and select Test NAT type.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

How to Forward Ports on Your Router (2024)
Top Articles
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 5328

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.