Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

What Is UPnP, and Should You Turn It Off on Your Router?

Learn the difference between local device discovery and automatic port forwarding, then check whether you need router UPnP enabled.

Table of Contents

Universal Plug and Play (UPnP) lets compatible devices discover or interact with one another on a network. On a home router, the setting labeled UPnP commonly enables automatic port mapping. Turn that setting off if you do not rely on it, then test the apps and devices you use.

What is UPnP? How to Protect Your Devices from UPnP Picture 1
What is UPnP?

Local discovery and router port mapping serve different purposes

Local discovery can help a compatible TV find a media server on the same network. Router port mapping lets a device ask the router to accept inbound connections for an app. A gaming console may use a mapping for peer connections, voice chat, or hosting. It does not improve the speed of your broadband connection or lower ping by itself.

What is UPnP? How to Protect Your Devices from UPnP Picture 2
Some games use UPnP for incoming connections.

Why automatic port mapping can be risky

A device or app on the local network may be able to request a mapping without asking you. That can expose a service you did not intend to make available on the internet, particularly if a device is compromised. Do not expose the router’s UPnP service or its administration interface on the internet-facing side. The Canadian Centre for Cyber Security’s UPnP guidance recommends disabling it on perimeter devices where it is not needed.

Check and disable router UPnP

  1. Open the router’s approved management app or admin page. Look under Advanced, NAT, or Port Forwarding for UPnP. The label and location vary by model.
  2. If the router shows current mappings, note the devices and apps that use them. Turn off UPnP and apply the change. Check for existing mappings or manual forwarding rules that still expose a service.
  3. Test multiplayer, voice chat, and remote access if you use them. If only one app fails, consult its documentation for a narrowly scoped alternative. Keep router firmware updated and consider isolating untrusted devices on a guest network.

Disabling router port mapping usually does not stop compatible devices from discovering one another on the same local network. Check the router manual if its UPnP control combines several features.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.