How to Open Router Ports

By Aaron Parson

Fix games and programs that can't connect by opening their required ports in your router's setup page.

When a computer program requests an open port to connect to the Internet, you have to forward it to your computer using your router's configuration page. Router setup varies from brand to brand, and even from model to model, but port forwarding works similarly on many different types of routers.

Tip

Even if you don't see your router's brand listed below, or if your interface looks different than the pictures, look around in your router's setup page for a method similar to one of those offered here.

Getting Started

To reach your router's configuration page, you need to know its IP address. You'll also need to know your computer's local IP address to forward ports. If you don't know these numbers already, find them using ipconfig. Open the command prompt (press Windows-R and run cmd), type ipconfig and press Enter. Read the line labeled "IPv4 Address" for your computer's IP address, and the "Default Gateway" line for your router's IP. Ipconfig outputs a lot of data, so if you don't see these lines, scroll up.

IP addresses in hand, log in to your router by typing the number from the Default Gateway line into your Web browser's address bar. Enter the router's administrative user name and password when prompted.

Tip

If you don't know your router's user name or password, look for a sticker on the router or check in its manual.

Linksys Routers

Step 1

Click Applications & Gaming on the menu bar.

Open Applications & Gaming.

Step 2

Open the Port Range Forward tab, if it isn't already open. On the first empty line, fill in the range of ports you want forwarded with the Start and End boxes. Choose the protocol — pick Both if you aren't sure — and then enter the last section of your computer's IP in the IP Address field. Check Enable and click Save Settings. The Application box is an optional label for your reference.

Port forwarding with Linksys

DD-WRT (Including Buffalo Routers)

Step 1

Click NAT/QoS on the main menu. Unlike most routers, DD-WRT only prompts you to log in after you click an option on the menu, so log in to continue.

Click NAT/QoS and log in.

Step 2

Click Add to create a new blank line on the Port Forwarding tab. Enter the same port number you want to forward in both the Port From and Port To boxes. Pick the protocol, enter your computer's full IP address and check Enable. Add a label in the Application box for your own reference, and then click Apply Settings to finish.

Port forwarding with DD-WRT

Tip

To forward a range of ports, open the Port Range Forwarding tab instead. The rest of the process works the same, except you'll need to fill in Start and End boxes to define the range of ports.

TP-LINK Routers

Step 1

Click Forwarding to open the Virtual Servers page, which is TP-LINK's term for port forwarding. Click Add New to start a new forward.

Add a new virtual server.

Step 2

Enter the port to forward in the Service Port field, or enter a range of ports using a hyphen. Leave the Internal Port field blank. Fill in your computer's full IP address and set the protocol. Click Save to finish.

Port forwarding with TP-LINK

Tip

On TP-LINK routers, the ALL protocol option is equivalent to the Both option on other routers.