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 new Nighthawk gaming router brings Wi-Fi 6E speeds to the masses
The Nighthawk RAXE300 on a tabletop in a home.

If you love the design -- and performance -- of Netgear's tried and trusted wing-shaped Nighthawk routers, the latest Nighthawk RAXE300 should catch your eye. The RAXE300 is a Wi-Fi 6E router that was announced ahead of CES this year, and this new, more affordable model joins the much beloved and more premium RAXE500, which is one of our favorite gaming routers on the market today.

Like the premium RAXE500, the RAXE300's adoption of Wi-Fi 6E should lead to better performance with more spectrum, more high bandwidth channels, and less interference with reduced latency, according to Netgear.

Read more
Best long-range Wi-Fi routers for 2022
Netgear's Orbi 5G broadcasts your mobile broadband connection over Wi-Fi 6.

While there are many routers capable of delivering fast speeds and the latest Wi-Fi 6 technology, some homes or small offices are simply too large to cover. In general, a whole-home mesh networking solution will be able to blanket larger spaces with a reliable, speedy Wi-Fi signal, but for those who don't want to install satellite receivers and nodes, having a robust Wi-Fi router will also do the trick. These are some of the best long-range Wi-Fi and mesh Wi-Fi systems that can cover homes in varying sizes from 5,000 to even 8,000 square feet.
Best long-range Wi-Fi routers

Netgear Nighthawk RAX200
Netgear Orbi 5G Wi-Fi 6 Mesh System NBK752
Linksys Velop MX12600
Asus ROG Rapture GT-AX11000
TP-Link Archer AX6000
Eero 6
Asus RT-AX88U
Google Nest Wi-Fi

Read more
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