Skip to main content

How to set up port forwarding on your router

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.

Recommended Videos

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.

Brad Bourque
Former Digital Trends Contributor
Brad Bourque is a native Portlander, devout nerd, and craft beer enthusiast. He studied creative writing at Willamette…
Oh great, new malware lets hackers hijack your Wi-Fi router
The Linksys Hydra 6 dual-band mesh WiFi 6 router.

As if you didn't already have enough to worry about, a new report finds hackers are targeting home Wi-Fi routers to gain access to all your connected devices.

The report comes from Black Lotus Lab, a security division of Lumen Technologies. The report details several observed real-world attacks on small home/home office (SOHO) routers since 2020 when millions of people began working from home at the start of the COVID 19 pandemic.

Read more
Best routers for Xfinity home Internet service
amazon discounts netgear tp link and linksys wireless routers for labor day orbi ultra performance whole home mesh wifi syste

Comcast, like most cable ISP services, provides most of its subscribers with a basic all-in-one modem solution that combines an Internet gateway with a router. If you have a more complicated home setup, you don’t have to rely on Comcast Xfinity’s provided unit to deliver reliable Wi-Fi coverage through your house. Instead, you can plug in a standalone router or whole-home mesh unit into your provided gateway — or even replace the supplied modem with your own combo model — for better speeds, boosted coverage, increased security, and improved reliability. Here are some of the best routers for Xfinity subscribers.

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