Port forwarding tells your router to send incoming internet traffic on a specific port to one device on your home network. TP-Link says it's commonly used for gaming, remote access and hosting a server or website from home. This guide covers what you need before you start, the general steps, and where the settings live on TP-Link and ASUS routers, based on TP-Link's and ASUS's own support guides. Menus vary by model and firmware, so check your router maker's support page for your exact model.
What you need before you start
TP-Link says you need three pieces of information:
The local IP address of the device you're forwarding to, such as your gaming PC, console or NAS.
The port number the service or game requires. Check the game's or software maker's support pages rather than guessing.
The protocol: TCP, UDP or both. TP-Link says to select ALL if you're not sure.
Step 1: Give the device a fixed local IP address
A port forwarding rule points at one local IP address. If your router later hands that device a different address, the rule stops working. TP-Link recommends assigning a static IP address to the device or setting up address reservation on the router so the address doesn't change. Our guide to setting a static IP address in Windows 11 shows how to do it on a PC.
Step 2: Log in to your router's web page
Open your router's web management page in a browser and log in with the router's admin username and password. For ASUS routers, ASUS says you can enter the router's LAN IP address or http://www.asusrouter.com while connected to the router by cable or Wi-Fi. If you've forgotten the login, ASUS says you'll need to reset the router to factory defaults and set it up again.
Step 3: Find the port forwarding settings
The menu name depends on your router:
TP-Link: TP-Link says the setting is under Forwarding > Virtual Servers on older models such as the TL-WR840N and Archer C50, Advanced > NAT Forwarding > Virtual Servers on models such as the Archer C7 and Archer AX10, and Advanced > NAT Forwarding > Port Forwarding on models such as the Archer AX55 and Archer AX11000.
ASUS: go to WAN > Virtual Server / Port Forwarding, switch Enable Port Forwarding to on (ASUS says it's off by default) and click Add profile.
Other brands may use different menu names, so check your router's manual or support site if you can't find the setting.
Step 4: Create the rule
Add a new rule and fill in the fields:
Service name: both TP-Link and ASUS offer a list of common services that fill in the port numbers automatically. Otherwise, enter a name and the ports manually.
External port and internal port: TP-Link says these are usually the same. Enter a range if the game or app needs one; ASUS uses a colon for ranges (such as 300:500) and commas between single ports.
Internal IP / device IP address: the fixed local IP from step 1.
Protocol: TCP, UDP or ALL/BOTH, as required by the service.
Source IP (ASUS): optional. ASUS says you can enter an internet IP address here to accept connections only from that address, or leave it blank.
Save the rule. On older TP-Link models that use the Forwarding > Virtual Servers menu, TP-Link says to set the rule's status to Enabled.
Step 5: Check it works
Test from outside your home network, as ASUS notes that you need a device connected to the internet rather than your LAN. TP-Link says you can reach the device using your router's WAN IP address followed by the port number. Also make sure the service is actually running and listening on that port on the device. ASUS lists this as one of the first things to check if a rule doesn't work.
Common problems
Private WAN IP address: both TP-Link and ASUS say port forwarding only works from the internet if your router has a public WAN IP address. If your router sits behind another router, such as an ISP router, you have multiple layers of NAT, and ASUS says port forwarding won't work properly. ASUS lists the private ranges (10.x.x.x, 172.16.x.x to 172.31.x.x and 192.168.x.x) and the carrier-grade NAT (CGNAT) range of 100.64.0.0 to 100.127.255.255. If your router's WAN IP falls in one of these, contact your ISP.
One port, one device: ASUS says each port can only be used by a single LAN device. TP-Link says some of its models let you work around this by giving each device a different external port that forwards to the same internal port.
Port 80 clashes with the router: TP-Link says port 80 is the default port for the router's own management page, so you must change the router's remote management or HTTP port, such as to 8080, before forwarding port 80 to a local device.
IPv6: ASUS says port forwarding isn't supported for IPv6 on its routers.
Stay safe
Every forwarded port opens a path from the internet to a device on your network, so only open the ports a service actually needs and remove rules you no longer use. Keep the device you're forwarding to updated, and keep your router's firmware up to date too; our guide on how to update router firmware explains how. If you're opening ports for online gaming, also see our guides to fixing a strict NAT type on PC and setting up QoS on a router for gaming.
The same steps apply on current Wi-Fi 7 routers such as the ASUS RT-BE88U and TP-Link Archer BE550, though menu names can change with firmware updates. Our best Wi-Fi 7 routers guide covers more options.