What Universal Plug and Play does, and why you might want it

Universal Plug and Play (UPnP) is a feature that lets programs on your network automatically open the ports they need without you manually configuring your router. When you enable it, applications like gaming consoles, video streaming devices, or file-sharing software can punch holes through your firewall on their own, rather than you having to log into your router settings and do it by hand.

The trade-off is real: UPnP makes setup easier, but it also gives any program on your network permission to reconfigure your router without asking you first. A malicious program or a compromised device could theoretically use UPnP to open ports you did not intend to open. For that reason, you should only enable UPnP if you actually need it for a specific device or process, and you should disable it again once that device is set up or if you stop using it.

Most home networks do not need UPnP. If your gaming console, smart TV, or other device works fine without it, leave it off. Enable it only when a device tells you it needs UPnP, or when you are having connection problems with a specific process that the manufacturer says UPnP will fix.

Key Takeaways

  • UPnP lets programs automatically open router ports without manual setup, but it also lets any program on your network reconfigure your router without permission.
  • Most home networks do not need UPnP; enable it only if a specific device or process requires it.
  • The steps to enable UPnP vary by router brand, but you access it through your router's admin panel, usually at 192.168.1.1 or 192.168.0.1 in your web browser.
  • After enabling UPnP, test whether your device or process now works, then disable UPnP again if you no longer need it.
  • If UPnP causes problems or you are not using it, disable it to reduce the attack surface of your network.

Finding your router's admin panel

To enable UPnP, you need to log into your router's settings. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. One of those addresses will load your router's login page. If neither works, check the bottom or back of your router for a sticker that lists the correct address — it may also say "gateway" or "admin URL".

Enter your router's username and password. If you have never changed them, they are usually printed on that same sticker on the router. The default is often "admin" for both username and password, but this varies by manufacturer. If you changed the password and cannot remember it, you will need to reset your router to factory settings, which erases all your custom configurations.

Once you are logged in, look for a section called UPnP, Universal Plug and Play, NAT-PMP, or sometimes Port Mapping. The exact name and location depend on your router brand and model. It is often under "Advanced Settings" or "Network Settings".

Enabling UPnP on common router brands

TP-Link routers: Log in, go to Advanced > Network > UPnP. Check the box next to "Enable UPnP" and click Save.

Netgear routers: Log in, go to Advanced > UPnP. Toggle UPnP to On and click explore.

Linksys routers: Log in, go to Administration or Advanced > UPnP. Check "Enable UPnP" and click Save Settings.

ASUS routers: Log in, go to Advanced Settings > NAT-PMP & UPnP. Check "Enable UPnP" and click explore.

Arris or Motorola cable modem routers: Log in, go to Advanced > UPnP. Toggle UPnP on and save.

If you cannot find UPnP in your router's menu, check the manual for your specific model number. You can usually find the manual by searching "[router brand] [model number] manual" online. Some older or budget routers do not have UPnP at all.

Testing whether UPnP is working

After you enable UPnP, restart the device or process that needs it — a gaming console, streaming device, or other networked program. Give it a minute or two to detect that UPnP is now available. Many devices will automatically configure themselves once they see UPnP is on.

Check whether the device or process now connects properly. If it does, UPnP is working. If the problem persists, UPnP may not be the issue, or the device may not support it. In that case, you can try disabling UPnP again and using manual port forwarding instead, or contact the device manufacturer for support.

Some applications have their own settings for UPnP. If enabling it on your router does not solve the problem, check the process's settings menu to see whether UPnP is also disabled there.

Disabling UPnP when you no longer need it

Once your device is working, consider disabling UPnP again if you do not use it regularly. The longer UPnP stays on, the longer any malware on your network has the ability to reconfigure your router without your knowledge. Turning it off when you do not need it reduces that risk.

To disable UPnP, log back into your router's admin panel, find the UPnP setting, and uncheck the box or toggle it off. Click Save or explore. Your device may lose the automatic port configuration, but if it is already set up and working, it should continue to function normally.

When UPnP causes problems

In rare cases, UPnP can cause network instability or unexpected behavior. If you notice your router restarting on its own, devices dropping connection, or strange port activity after enabling UPnP, disable it when ready and see whether the problem stops. Some older routers have buggy UPnP implementations that can cause these issues.

If you have multiple devices on your network all trying to use UPnP at the same time, they can sometimes conflict with each other or overwhelm the router's port-mapping table. In that case, disable UPnP and manually configure ports for the devices that need them instead.

Frequently Asked Questions

Is UPnP a security risk?

UPnP itself is not inherently dangerous, but it does allow any program on your network to open ports without asking permission. If malware gets onto one of your devices, it could use UPnP to open ports for itself. For that reason, only enable UPnP when you actually need it, and disable it when you do not.

What is the difference between UPnP and NAT-PMP?

Both do the same thing — let programs automatically configure ports — but NAT-PMP is an older standard used mainly by Apple devices. UPnP is more common. Some routers support both. If your device supports NAT-PMP and your router has it, you can use that instead of UPnP.

Will enabling UPnP slow down my network?

No. UPnP only runs when a device needs to configure a port, and it does not affect the speed of data moving through your network. It may take a few seconds longer to set up a new device, but once it is configured, there is no performance impact.

Can I enable UPnP just for one device?

No. UPnP is a router-wide setting. When you enable it, all devices on your network can use it. You cannot restrict it to a single device from the router settings. If you want to limit which devices can use UPnP, you would need to disable it on the router and manually configure ports for the devices that need them.

What should I do if I forgot my router password?

You will need to reset your router to factory settings. Hold down the reset button (usually a small hole on the back) for 10 to 15 seconds while the router is powered on. The router will restart and return to its default username and password, which are printed on the sticker. You will need to set up your Wi-Fi network and any other custom settings again.