Key Takeaways
- Port forwarding lets outside devices reach a specific computer, game console, camera, or server on your home network.
- The process is the same on every router: log in, find the port forwarding page, enter the port number and the device's local IP address, and save.
- Always assign a static or reserved IP to the device first, and only open ports you actually need.
What Is Port Forwarding (in Plain English)?
Your router acts like a doorman. By default, it blocks unexpected traffic coming in from the internet so strangers cannot reach your devices. Port forwarding tells the doorman, "If someone knocks on door number 25565, send them to my gaming PC." It is used for online gaming, security cameras, remote desktop, hosting a game server, and similar tasks.
Before You Start: What You Need
- The IP address of the device you want to reach (for example, your Xbox or PC).
- The port number and protocol (TCP, UDP, or both). The app or game's support page will list these.
- Your router's admin login. Look for a sticker on the back or bottom of the router.
How to Find Your Device's Local IP Address
- Windows: Open Command Prompt and type ipconfig. Look for "IPv4 Address."
- Mac: System Settings, then Network, then select your connection.
- Game console or smart device: Check the network or Wi-Fi settings menu.
Write this number down. It usually looks like 192.168.1.42 or 10.0.0.55.
Set a Static or Reserved IP First
Your router can change your device's IP address over time, which breaks port forwarding. To prevent this, set a DHCP reservation in your router settings, or assign a static IP on the device itself. Most modern router apps call this "Reserve IP" or "Address Reservation."
Common Router Login Addresses
The table below shows the default admin address, username, and password for major router brands. If yours has been changed, check the sticker on the device.
| Router Brand | Admin Address | Default Login |
|---|---|---|
| Netgear | routerlogin.net or 192.168.1.1 | admin / password |
| TP-Link | tplinkwifi.net or 192.168.0.1 | admin / admin |
| ASUS | router.asus.com or 192.168.1.1 | admin / admin |
| Linksys | 192.168.1.1 | admin / admin |
| eero | eero app only | App account |
| Google Nest Wifi | Google Home app | App account |
| Xfinity Gateway | 10.0.0.1 | admin / password |
| AT&T Gateway | 192.168.1.254 | Access code on device |
| Verizon Fios | 192.168.1.1 or myfiosgateway.com | admin / password on sticker |
| Spectrum (Sagemcom/Askey) | 192.168.1.1 | admin / password on device |
Step-by-Step Port Forwarding by Router Brand
Netgear (Nighthawk, Orbi)
- Go to routerlogin.net and sign in.
- Click Advanced, then Advanced Setup, then Port Forwarding / Port Triggering.
- Select Port Forwarding and click Add Custom Service.
- Enter a name, the port number, the protocol, and the device's IP address.
- Click Apply.
TP-Link (Archer, Deco)
Archer routers:
- Go to tplinkwifi.net and sign in.
- Click Advanced, then NAT Forwarding, then Virtual Servers.
- Click Add, enter the external port, internal port, protocol, and device IP.
- Click Save.
Deco mesh systems:
- Open the Deco app and tap More.
- Tap Advanced, then Port Forwarding.
- Tap the plus sign, enter the port, protocol, and device, then save.
ASUS
- Go to router.asus.com and sign in.
- In the left menu, click WAN, then the Virtual Server / Port Forwarding tab.
- Turn Port Forwarding on, click Add Profile, and fill in the port, protocol, and internal IP.
- Click Apply.
Linksys
- Go to 192.168.1.1 and sign in.
- Click Security or Apps and Gaming, then Single Port Forwarding.
- Enter an application name, the external and internal port, protocol, and device IP.
- Click Save Settings.
eero
- Open the eero app and tap the Settings gear.
- Tap Network Settings, then Reservations and Port Forwarding.
- Choose the device, tap Add Reservation, then Add a Port.
- Enter the port and protocol, then save.
Note: A reservation is required before adding a port on eero.
Google Nest Wifi and Google Wifi
- Open the Google Home app.
- Tap Wi-Fi, then the settings gear, then Advanced networking.
- Tap Port management, then the plus sign.
- Pick the device, enter the port and protocol, then save.
Xfinity (Comcast) Gateway
- Go to 10.0.0.1 in your browser.
- Sign in (default is admin / password unless you changed it).
- Click Advanced, then Port Forwarding.
- Click Add Service, choose or create a service, and enter the port range and device IP.
- Click Save.
You can also use the Xfinity app under WiFi, then Advanced Settings.
AT&T Gateway (BGW210, BGW320)
- Go to 192.168.1.254.
- Click Firewall, then NAT/Gaming.
- Pick your device from the list.
- Select a hosted application or choose Custom Service to enter your own ports.
- Enter the device access code (printed on the gateway) when prompted and save.
Verizon Fios Router
- Go to myfiosgateway.com or 192.168.1.1.
- Click Advanced, then Port Forwarding.
- Pick the device, set the source and destination ports, choose the protocol, and save.
Spectrum (Sagemcom or Askey)
- Go to 192.168.1.1 and sign in with the credentials on the router sticker.
- Click Advanced, then Port Forwarding.
- Click Add, enter a name, the start and end port, protocol, and internal IP.
- Save your changes.
If you own your own modem and router with Spectrum, the steps depend on that brand. See our router guides for help.
How to Test if Port Forwarding Works
Make sure the device or service you forwarded to is actually running. Then visit a free port checker tool such as canyouseeme.org and enter your port. If it says the port is open, you are set. If it says closed, double-check the device IP, the protocol (TCP versus UDP), and any built-in firewall on the device itself.
Troubleshooting Common Problems
- The port still shows closed. Confirm the device IP has not changed and that your service is actually listening on that port.
- Double NAT. If your internet provider's modem also has Wi-Fi and you added your own router behind it, you may need to put the provider's device into bridge mode or forward the port on both.
- Carrier-grade NAT (CGNAT). Some providers, especially cellular and some fiber networks, do not give you a real public IP. Port forwarding will not work without a public IP. Call your provider and ask.
- Firewall on the device. Windows Defender Firewall, Mac firewall, or game console settings can still block the connection even when the router is configured correctly.
Safety Tips When You Open Ports
- Only open the specific ports the app or game requires. Never open large port ranges unless absolutely necessary.
- Change your router's default admin password.
- Keep your router firmware updated.
- Close ports when you no longer need them.
When You Need a New Router
If your router's interface looks nothing like what is described here, it is probably very old and missing modern security updates. A current router from Netgear, TP-Link, or ASUS will make port forwarding much easier and keep your network safer.
Frequently Asked Questions
What is the difference between TCP and UDP in port forwarding?
TCP is used for reliable connections like web browsing and most game logins. UDP is used for fast, real-time traffic like voice chat and gameplay. If the app's support page lists both, select Both or create two entries.
Do I need port forwarding for online gaming?
Usually no. Most modern games work through your router's automatic NAT. Port forwarding is only needed when you have a strict NAT type, host a private game server, or use older titles that require specific ports.
Is port forwarding safe?
It is reasonably safe if you open only the specific ports you need, point them at a device you control, and keep that device updated. Opening wide port ranges or pointing them at outdated devices is risky.
What is the difference between port forwarding and a DMZ?
Port forwarding opens one or a few ports to one device. A DMZ exposes every port on a device to the internet. Avoid DMZ for anything except testing, since it removes most of your router's protection.
Why is my port forwarding not working after a reboot?
The device's local IP probably changed. Set a DHCP reservation in your router so the device always gets the same IP, then update the rule if needed.
Can I port forward without logging into my router?
Some apps and games support UPnP, which opens ports automatically. This works for many home users, but it is less secure and not reliable for hosting. Manual port forwarding is the dependable option.
Does port forwarding slow down my internet?
No. Port forwarding only changes how incoming traffic is routed. It does not affect your overall speed.

