Skip to main content

How to set up port forwarding on your router

how to set up port forwarding router portforwarding header withtext
Image used with permission by copyright holder
If you have a router running as part of your PC’s Internet connection setup, you may have run into some trouble when attempting to host online PC games or perform other tasks that requires ‘net connectivity. After looking up some fixes online, you likely ran into the term “Port Forwarding,” which essentially requires you to enter your router’s settings, and specifically instruct it to leave certain doors to your connection open, allowing external machines and services to connect to you.

If you want to figure out how to pull off Port Forwarding, we’ll guide you through the process here. Just follow the instructions below.

How to set up Port Forwarding in your router’s settings

To set up port forwarding, you’ll need to first access your router’s settings page. Doing so for one router may require you to do something differently compared to another. However, the information required to access this panel can be found in your router’s documentation. Once you’re in your router’s settings, you’ll want to look for a settings group or page that deals with ports or routing. In the case of our Linksys router, the section was called “Applications and Gaming,” which has separate pages for single port and port range forwarding.

To set up port forwarding with our Linksys router for the game Terraria, all we had to do is indicate the port we wanted to open (7777) in the External Port and Internal Port field, and in the “to IP Address” field, fill in the IP address of either your computer, or the machine the server is hosted on. If you aren’t sure how to find that, you can refer to our guide on how to find your IP address, and plug that number into your router settings.

Single Port Linksys
Image used with permission by copyright holder

As you can see in the above screenshot, we have the game Terraria set up for port forwarding. The game operates on port 7777–so the router is set to redirect traffic into the network through that port. In some cases, games and other services may require a range of ports to be configured. These requirements can change from one game, program or service to another, so if you’re having any connectivity issues, be sure to research any port forwarding requirements. If, for instance, you wanted to set up port forwarding for your game console, you’d have to enter the IP address assigned to your Xbox or PlayStation. Finally, you’ll need to hit Enabled, and then click Save Settings at the bottom.

Curious to learn more about networking issues? Feel free to check out our guide on how to change your router’s IP address, which covers instructions on how to assign a static IP via DHCP.

Editors' Recommendations

Brad Bourque
Former Digital Trends Contributor
Brad Bourque is a native Portlander, devout nerd, and craft beer enthusiast. He studied creative writing at Willamette…
Netgear’s $1,500 Orbi mesh Wi-Fi 6E router promises double the speed
Netgear's Orbi RBKE963 is a terrific Wi-Fi 6E mesh network.

Netgear's latest Orbi is a mesh Wi-Fi 6E network that claims to deliver some impressive-sounding speeds. This Wi-Fi 6E mesh router comes with a quad-band design and a new 6GHz band -- you just need a home or office broadband plan that can deliver the speeds to take advantage of the Orbi's features.

That promises speeds double what is achievable on the conventional 5GHz band found on most routers and whole-home mesh systems today. This means that the Orbi can reach a theoretical speed of 10.8Gbps.

Read more
How to update your router firmware
Netgear's Nighthawk RAXE500 tri-band router.

Like our other devices, routers have software that occasionally needs updates as well to offer improved security and compatibility, and even provide new features for users. To do this, the router needs a firmware update, and that requires a little work. If it’s been several years since you’ve checked for router updates or you heard about a recent update/fix for your router line, it’s time to take action. Here’s what you need to do.
Tip: Check for app updates and automated downloads
How to Update Router Firmware with the Nighthawk App | NETGEAR

Newer routers often make things easier by connecting to the cloud for important updates and automatically downloading upgrades for firmware. If you have an app to manage your router, open it and look for an update option.

Read more
How to change your router’s Wi-Fi password
Netgear's Nighthawk RAXE500 tri-band router.

A router Wi-Fi password should hit the sweet spot between being secure enough to offer protection, and being easy enough to remember and share with family or friends. To help stay safe and keep out unwanted guests, a good Wi-Fi password should include upper and lowercase letters, numbers, and ideally, special characters too.

If it’s time for a quick update to your old Wi-Fi password, our guide will show you just how to do it.

Read more