How to Enable UPnP on Your Router Safely

A complete step-by-step tutorial to turn on Universal Plug and Play across major routers and Windows, verify open ports, and avoid common security pitfalls.

Step-by-step diagram showing how to enable UPnP on a home router for consoles and PCs

Trying to join a friend's multiplayer lobby, host a co-op session, or connect a media player, only to be hit with a "Strict NAT" or "UPnP Not Successful" warning? Enabling Universal Plug and Play (UPnP) on your router is often the fastest way to let gaming consoles and legitimate desktop apps open the inbound ports they need automatically.

Instead of manually entering IP addresses and TCP/UDP port ranges for every single game or device on your network, UPnP lets trusted devices request temporary port mappings from your router on demand and close them once the session ends.

However, turning on UPnP blindly comes with real security considerations. In this guide, you will learn exactly how to enable UPnP across all major router brands and Windows 11, how to verify that your ports are actually reachable, why it sometimes fails, and the safeguards you should put in place so convenience doesn't compromise your home network.

⚡ Before You Begin:
UPnP only works properly if your router directly holds your public IP address. If you have two routers chained together (Double NAT) or your ISP uses Carrier-Grade NAT (CGNAT), enabling UPnP on your local Wi-Fi router will not open external ports. Review our NAT & Double NAT Guide if you run a modem + router combo.

Step 1: Find Your Router's Admin IP Address

To enable UPnP, you must log into your primary router's web administration panel (or official mobile management app). Most home routers use one of a few standard local gateway addresses:

  • 192.168.1.1 (ASUS, Linksys, many TP-Link and ISP routers)
  • 192.168.0.1 (Netgear, D-Link, TP-Link, Spectrum)
  • 192.168.1.254 or 192.168.0.254 (AT&T, BT, Orange, Swisscom)
  • 10.0.0.1 (Comcast Xfinity, Apple AirPort)
  • 192.168.178.1 (AVM FRITZ!Box)

If none of these load in your browser, find your exact gateway IP in 10 seconds:

  • Windows 11 / 10: Open Command Prompt (cmd), run ipconfig, and look at the Default Gateway line under your active Wi-Fi or Ethernet adapter.
  • macOS: Open System Settings → Network, select your active connection, click Details, and check the Router IP address.
  • iPhone / Android: Open Wi-Fi settings, tap the info icon next to your connected SSID, and look for Router or Gateway.

Step 2: How to Enable UPnP on Any Router (Universal Steps)

While menu names vary slightly between manufacturers, the core process is identical across virtually all consumer routers:

  1. Open a web browser on a device connected to your network and enter your router's gateway IP (for example, http://192.168.1.1).
  2. Sign in with your router's admin username and password (often printed on a sticker underneath the router if you haven't customized it).
  3. Navigate to the Advanced, NAT Forwarding, WAN, or Firewall section.
  4. Look for the UPnP (or Enable UPnP / UPnP IGD) toggle.
  5. Switch UPnP to On or Enabled.
  6. Click Save or Apply, then reboot your router and restart your gaming console or PC so devices can negotiate fresh port leases.

Router-Specific Instructions (Major Brands & ISP Gateways)

Use the reference table below to jump straight to the exact UPnP menu in your router's interface:

Router Brand / Model Exact Menu Path for UPnP Notes
TP-Link (Archer / Tether) Advanced → NAT Forwarding → UPnP On TP-Link Deco mesh, open the Deco App → More → Advanced → UPnP.
ASUS (ASUSWRT) WAN → Internet Connection → Basic Config → Enable UPnP Also lets you view active ports under System Log → Port Forwarding.
Netgear (Nighthawk / Orbi) Advanced → Advanced Setup → UPnP Check "Turn UPnP On". Leave Advertisement Period at default (30 min).
Linksys (Smart Wi-Fi) Connectivity → Administration → UPnP Disable "Allow Users to Configure" if you only want port mapping, not admin changes.
AVM FRITZ!Box Home Network → Network → Network Settings → Status Info over UPnP Per-device port sharing (PCP/UPnP) can be restricted to specific consoles under Internet → Permit Access.
Xfinity / Spectrum / ISP Hubs Advanced → Device Discovery / UPnP (or ISP Mobile App) Many modern ISP gateways turn UPnP on by default or enable "Zero Config" automatically.

Step 3: Enable UPnP & Network Discovery on Windows 11 / 10

If you are gaming or running peer-to-peer apps on a Windows PC, turning on UPnP on the router is only half the equation. Windows also needs its local discovery services active on your Private network profile:

  1. Set Network Profile to Private: Go to Settings → Network & internet → Wi-Fi (or Ethernet), click your connection, and select Private network. Windows blocks UPnP/SSDP discovery on Public profiles.
  2. Turn On Network Discovery: Open Control Panel → Network and Sharing Center → Change advanced sharing settings. Expand Private and select Turn on network discovery.
  3. Verify Windows UPnP Services: Press Win + R, type services.msc, and press Enter. Ensure both SSDP Discovery and UPnP Device Host have their Startup type set to Manual or Automatic and are currently Running.

For PlayStation 5, Xbox Series X/S, and Nintendo Switch, no separate console toggle is needed. Once UPnP is enabled on the router and the router is rebooted, run the console's built-in Test Internet Connection (PS5) or Test NAT Type (Xbox) utility to force a fresh UPnP port request.

Step 4: Verify That UPnP Is Actually Working

Do not assume UPnP succeeded just because the router checkbox is ticked. Verify it in two places:

  1. Check the Router's UPnP Portmap Table: Most router interfaces (TP-Link, Netgear, ASUS) display a live table on the UPnP settings page listing every active port lease, the protocol (TCP/UDP), the internal device IP, and the application name (e.g., Xbox Live or PlayStation).
  2. Test External Port Reachability: Start the game or server application on your PC so it actively listens on its requested port, then test whether the port responds from outside your home LAN.

🔍 Test Your Opened Ports Externally

Verify whether UPnP successfully exposed your application's port to the public internet—or if an upstream ISP restriction or local firewall is still blocking inbound traffic:

Run Free Port Checker →

Why UPnP Still Fails (4 Common Roadblocks)

If your port checker still reports closed ports or your Xbox still displays Moderate/Strict NAT after enabling UPnP, check these four frequent blockers:

  • Double NAT: If your ISP modem has routing enabled and you plugged your own Wi-Fi router behind it, your personal router's UPnP rules cannot reach the upstream modem. Switch the ISP modem into Bridge Mode (or IP Passthrough).
  • Carrier-Grade NAT (CGNAT): Many fiber, Starlink, and 5G home internet providers share a single public IPv4 address across hundreds of subscribers. Under CGNAT, neither UPnP nor manual port forwarding can accept unsolicited inbound connections.
  • Multiple Consoles on One Network: Older router UPnP implementations struggle when two Xbox or PlayStation consoles try to claim the exact same external port (such as UDP 3074) simultaneously. One console gets Open NAT while the second drops to Moderate or Strict.
  • Software Firewalls: Windows Defender Firewall or third-party security suites may silently drop incoming packets even after the router forwards them via UPnP. Ensure your game or application is allowed through Private networks in Windows Firewall.

UPnP vs Manual Port Forwarding: Which Should You Choose?

Before leaving UPnP enabled permanently, compare it against manual static port forwarding:

Factor UPnP (Automatic) Manual Port Forwarding
Setup Effort One-click toggle Requires DHCP reservation + manual port rules
Dynamic Devices Handles multiple consoles/apps seamlessly Can only forward a given port to one local IP
Security Control Low (any LAN device can open ports silently) High (strictly limited to explicit admin rules)
Best Use Case Casual multi-console gaming on trusted devices Self-hosted game servers, single consoles, security-conscious homes

5 Rules to Use UPnP Without Exposing Your Network

Because UPnP accepts port-opening requests without asking for an administrator password, compromised apps or poorly secured IoT gadgets can abuse it. You can read our full threat breakdown in What Is UPnP? Security Risks Explained. If you choose to keep UPnP enabled, follow these five safeguards:

  1. Update Router Firmware Immediately: Older firmware versions often suffer from critical WAN-side UPnP vulnerabilities (such as CallStranger) that let external attackers probe your home LAN.
  2. Verify "UPnP on WAN" Is Disabled: Ensure UPnP is strictly limited to your internal LAN interface and never exposed to external internet requests.
  3. Isolate Smart Home & IoT Devices: Place smart TVs, cheap IP cameras, and smart bulbs on a separate Guest Wi-Fi network where UPnP and local LAN access are blocked.
  4. Audit the Port Mapping Table Monthly: Check your router's UPnP table periodically. If you spot unknown ports mapped to unfamiliar devices, turn UPnP off immediately and scan for malware.
  5. Do Not Use UPnP to Access Personal Files Remotely: Never let UPnP punch open ports to a local NAS or shared desktop drive just to reach your documents away from home—automated ransomware bots actively scan for exposed UPnP storage ports.

🛡️ Safer Alternatives to Leaving Ports Wide Open

If your goal is gaming safely on untrusted networks or accessing home services without opening raw firewall ports via UPnP, an encrypted VPN tunnel keeps your IP hidden and avoids exposing local ports directly. Likewise, for remote document backups, zero-knowledge encrypted cloud storage eliminates the need to expose a home NAS altogether:

Why Use a VPN → Protect Your Files Safely →

Frequently Asked Questions

Is it safe to enable UPnP on my router?

Enabling UPnP introduces convenience for multiplayer gaming and media discovery, but it carries security trade-offs because UPnP lacks authentication by default. To use it safely, keep router firmware updated, isolate untrusted IoT devices on a guest Wi-Fi network, and audit active port mappings regularly.

Does enabling UPnP give me an Open NAT type on PS5 and Xbox?

In most single-router home networks, enabling UPnP changes your Xbox or PlayStation NAT status from Strict to Open (Type 1 or Type 2) by automatically forwarding required game ports. However, if you have Double NAT or ISP Carrier-Grade NAT (CGNAT), UPnP alone cannot achieve Open NAT.

Do I need UPnP and manual port forwarding enabled at the same time?

No. In fact, running both for the same port can create rule conflicts. Use either UPnP for automatic multi-console port allocation, or disable UPnP and configure static manual port forwarding rules for specific devices.

Why is the UPnP option missing or greyed out on my router?

Some ISP-supplied gateways lock down UPnP in their firmware, or hide it when the router is placed in Bridge Mode or Access Point (AP) Mode. Check your ISP's mobile management app (such as Xfinity xFi or AT&T Smart Home Manager) or switch to your primary router's admin dashboard.

Why does my Xbox or PC still say UPnP Not Successful after enabling it?

If UPnP is turned on in your router settings but your device reports a failure, the most common culprits are a Double NAT setup (two routers chained together), Carrier-Grade NAT (CGNAT) from your ISP, a stale NAT lease requiring a router reboot, or a local software firewall blocking SSDP discovery packets.