UPnP — the setting that lets your devices open their own doors

It is on by default and almost nobody looks at it. How to see what is currently open, and what gets awkward if you turn it off.

By default, your router blocks connections coming in from outside. Things can go out from your house, but not the other way. That is the single most important job a router does, and the reason most people never have to think about it.

There is a setting, though, that lets devices punch a hole through that wall by themselves. It is called UPnP, and it usually ships switched on.

What it does

A games console playing online sometimes needs to accept a connection from outside. Normally a person has to go into the router and register it by hand: “anything arriving on this number goes to this device.” That job is called port forwarding.

UPnP lets the device ask directly. The console tells the router “open a hole for me” and the router opens it. Nobody is involved.

That is why consoles, video calls and some smart home devices just work the moment you plug them in. As a convenience feature it is well made.

The problem is that it doesn’t ask who is asking

The router doesn’t check whether the request came from a games console or something else. If it is inside the house, it gets opened.

Which makes all of this possible:

  • A device opens something wider than it needed and never closes it
  • A hole opened by a device you stopped using years ago is still there
  • If a device in the house is compromised, that code can open a door facing outward by itself

What the router blocks, and the hole a device opens for itself.

① The router is the wall. Things go out freely. ② What comes in from outside is refused. ③ A device inside asks for a hole. ④ The router opens it, and now that one way in is live.

The last one is the real character of this feature. A router’s defence is against “outside coming in” — and UPnP is a way for the inside to switch that defence off.

Go and look at what is open

The one thing to actually do here is this. Before turning anything off, look at the current list.

In the admin page, find one of these.

  • Advanced settings → UPnP
  • Network → Port forwarding
  • NAT → Port forwarding list

The list usually shows which device opened which number. Two things to look for.

  • Is there a device you don’t recognise? Identifying it works the same way as with the device list
  • Are there entries for devices you no longer use? Something you sold, a console from years ago

If it is empty, no device has asked for anything, and that is good news.

What gets awkward if you turn it off

Off is safer, but it isn’t free.

  • Games consoles may connect worse. The console reports a worse NAT type, matchmaking takes longer, and voice chat drops
  • Some video call and remote desktop apps fail to connect
  • Reaching a camera or NAS at home from outside may stop working

In most households nothing happens at all. Modern services are generally built to work without accepting inbound connections. If there is a console in the house, though, you may notice.

The order

  1. Look at the list first. Turn it off without knowing what was open and you cannot trace back what broke
  2. If there is an entry you don’t recognise, work out which device it is
  3. Turn UPnP off and live with it for a few days
  4. If something breaks, don’t turn UPnP back on — port forward that one device by hand. Undo everything for the sake of one and you are back at the start

Manual entries are tedious, but you do it once, and the difference is that you know what is open.

One more thing on the same screen

While you are in there, there is one more worth checking: remote management (sometimes WAN access). It lets the router’s settings page be reached from outside, and if you don’t use it, it is safer off.

If you ever find an admin login in your router’s logs at a time you weren’t logging in, this is the first setting to look at.

Why the list is sometimes empty, and nothing works anyway

Two things explain most of the confusing cases people hit here.

UPnP is not the only way a device asks. Apple devices use NAT-PMP and its successor PCP to do the same job, and on many routers those have their own switch. Turn UPnP off, find holes still being opened, and this is usually the answer. Look for NAT-PMP near the UPnP setting and treat the two as one decision.

Your ISP may have taken the question away from you. If you are behind carrier grade NAT, your router does not hold a public address at all, so a hole it opens leads nowhere and manual port forwarding fails in exactly the same way. This is now common on mobile broadband and on some fibre plans.

Checking takes one minute. Find the WAN IP on your router’s status page and compare it with what a site like whatismyip.com reports. If they differ, you are behind carrier grade NAT. A WAN address starting 100.64. through 100.127. is the same answer.

If that is your situation, the practical reading of this whole article changes: there is nothing being exposed from outside to worry about, and also nothing you can expose on purpose. Reaching a camera or NAS from outside then needs a service that connects outward from your house rather than a forwarded port, and asking your provider for a public address is the other route.

In short

Question Answer
What is UPnP A feature letting devices open their own inbound holes
Default Usually on
What’s risky about it It doesn’t check what is asking
First thing to do Not turn it off — look at what is open
What breaks if I turn it off Mainly consoles. Most houses notice nothing
If something breaks Don’t re-enable it; forward that one device by hand
What else to check Whether remote management is off

If you had to name the router setting doing the most work while being looked at the least, this would be it. Whether you turn it off depends on your circumstances — but what is open right now is worth one look.

Common questions

Does turning UPnP off protect me from a compromised smart device?

Partly, and it is worth being precise about which half. It removes that device’s ability to open a door facing inward, which is the route by which something on your network becomes reachable from the internet. It does nothing about outbound traffic, so a compromised device can still contact whoever it likes. For the outbound half the tools are separating it onto its own network and DNS filtering.

My console says NAT Type 3 or Strict. Do I have to re-enable UPnP?

No, and this is the case the ordered list above is written for. Forward the specific ports that console needs by hand and it will report an open NAT without any device being able to open anything else. Every console maker publishes the port numbers. It is twenty minutes once rather than a standing permission.

Do I need to reboot the router after turning it off?

The setting applies immediately, but holes already open can persist until they expire or the router restarts, so a reboot is the honest way to confirm the list is actually empty. Check the forwarding list again afterwards. If an entry survived both, it was a manual entry somebody added rather than a UPnP one.