Wi-Fi & home network

Should I Disable UPnP? Router Security, Risks and When to Keep It

UPnP trades security for convenience by letting any device open router ports without asking you. For most homes, turning it off is the safer default.

Cysoro Security TeamPublished · 7 min read
RouterUPnP: OFFDisablePorts closed WI-FI & HOME NETWORK DisableUPnP? Safer off for most homes.
Quick answer

Yes, most home users should disable UPnP. Universal Plug and Play lets any device on your network open router ports automatically, with no authentication, so malware or a compromised smart device can punch holes in your firewall. Only keep it on if a game console or service you use regularly breaks without it, and then use manual port forwarding instead where you can.

Key takeaways

  • UPnP lets any local device open router ports automatically, with no authentication or approval from you.
  • Most homes do not need UPnP, and disabling it shrinks your attack surface with little downside.
  • Gamers and some smart-home setups may need it, but manual port forwarding is the safer alternative.

Your router probably has UPnP turned on right now, and you probably never chose that. It makes devices connect with no setup, which is convenient — and it also lets any device on your network open ports in your firewall without asking you. For most homes, that trade is not worth it.

What is UPnP?

UPnP stands for Universal Plug and Play. It is a set of networking protocols that lets devices on the same local network discover each other and automatically configure the connections they need to reach the internet.

In practice, its best-known job is automatic port forwarding. A game console, a smart camera or a peer-to-peer app asks your router to open a port, and the router does it with no password, no prompt and no log you are likely to check.

Most routers enable UPnP by default. That is why things often work out of the box, and why many people have never heard of the setting that made it work. Our guide to how to secure your Wi-Fi covers UPnP alongside the other router settings worth checking.

How does UPnP work?

When a device joins your network, it uses UPnP discovery to find the router and announce what it can do. When it needs an incoming connection, it sends a request asking the router to forward a specific port to it.

The router creates a temporary port-forwarding rule and the device becomes reachable from the internet on that port. When the device no longer needs it, the rule should be removed, though stale rules can linger.

UPnP combines several older technologies, including TCP/IP, HTTP, XML and SOAP, to do this automatically. The design goal was zero-configuration networking: plug a device in and it works. Security checks were not part of that goal.

How UPnP opens a port Your devicegame console,camera, app Routeropens the portautomatically Internetcan now reachthe device No password. No approval. No prompt to you. Any device on the network, trusted or compromised, can make the same request.
UPnP port opening happens automatically, with no authentication. Illustration by Cysoro.

Should I disable UPnP?

Yes, for most home users. If you do not regularly use services that need incoming connections, such as online multiplayer games or certain peer-to-peer apps, you do not need UPnP, and disabling it reduces your attack surface.

That is the short answer from most security guidance, including Norton, which explains the UPnP trade-off, and TP-Link, which notes that turning UPnP off is the safer default unless you actively rely on it. The inconvenience is usually small, and the fix for anything that breaks is a single manual port-forwarding rule.

There are exceptions. A household with several consoles, a home server or older smart-home gear may find that disabling UPnP breaks something they use daily. In that case, test it first: turn UPnP off for a week, note what stops working, and forward ports only for those services.

What are the security risks of UPnP?

The central risk is that UPnP has no authentication. Any device on your network can request open ports, including a device that has been compromised by malware, and the router will comply without checking whether the request is legitimate.

RiskWhat happensWho is affected
Unauthorized port forwardingMalware opens ports to let attackers in or data outAny home with an infected device
Exposed IoT devicesCameras and smart devices become reachable from the internetHomes with many smart devices
WAN-side exposureSome routers accept UPnP requests from the internet, not just the local networkOwners of older or misconfigured routers
Botnet recruitmentCompromised devices are used in DDoS attacksAnyone with vulnerable IoT gear

History shows the risk is real. Proton VPN documents the UPnP risks in detail. In 2020, researchers disclosed CallStranger, a flaw in some UPnP implementations that could be used to amplify DDoS attacks and, in some cases, exfiltrate data. The Mirai botnet also exploited UPnP weaknesses to infect IoT devices and routers for large DDoS attacks.

Older routers add another layer of risk. Some accept UPnP requests from the internet side, which was never the design intent. UPnP was meant to stay inside your home network, and WAN exposure turns a local convenience into a remote hole.

When should you keep UPnP on?

Keep UPnP on only when a service you use regularly depends on it and you have no practical alternative. Online gaming is the most common case: consoles use UPnP to get an open NAT type for multiplayer, voice chat and peer-to-peer matches.

Some smart-home devices also rely on UPnP for remote access. Disabling it can mean you cannot check a camera or adjust a thermostat while away from home, until you set up an alternative such as the vendor's cloud relay or a manual rule.

If you keep it on, reduce the risk around it. Keep router firmware up to date, use a strong Wi-Fi password, remove unfamiliar devices from your network, and keep every connected device patched. Used thoughtfully, UPnP can offer convenience, but it should complement basic security, not replace it.

If you are unsure whether a device on your network is exposing you, check what your connection reveals with our free what is my IP tool.

What breaks if I disable UPnP?

Most things keep working. Browsing, streaming, video calls, email and downloads use outgoing connections, which do not need UPnP at all. You are unlikely to notice any change in speed or reliability.

What can break is anything that needs an incoming connection. Games may report a strict or moderate NAT type, which can make matchmaking slower or voice chat unreliable. Some peer-to-peer file sharing and video conferencing features may connect more slowly.

Smart-home remote access is the other common casualty. If a camera or thermostat stops responding when you are away, that device was probably using UPnP. Check its app settings for a cloud or relay mode before re-enabling UPnP for the whole network.

What is the safer alternative to UPnP?

Manual port forwarding is the safer alternative. Instead of letting any device open any port, you create a rule for one specific port, one specific device and one specific service, and you can remove it when you no longer need it.

  1. Find the port your service needs. Console makers and game publishers publish port lists; use those, not a random forum post.
  2. Give the device a static IP or DHCP reservation. Otherwise the forwarding rule can point at the wrong device after a reboot.
  3. Create one rule per service. Open only the ports listed, using TCP, UDP or both as specified.
  4. Test the service. Check the game or app works, then confirm no other ports were opened.
  5. Review the rules twice a year. Delete rules for games and devices you no longer use.

This takes a few minutes per service, which is why UPnP exists. But those minutes buy you visibility: you know exactly which ports are open and why, instead of discovering it during an incident.

UPnP vs manual port forwarding UPnP (automatic)Any device can open any portNo approval or log you checkFast and convenientHigher risk Manual forwardingOne port, one device, one serviceYou choose and can remove itTakes a few minutes to set upLower risk
Manual forwarding gives you the same connectivity with far more control. Illustration by Cysoro.

How do I disable UPnP on my router?

Disabling UPnP takes about two minutes, though the exact menu names vary by router brand. The setting is usually under Advanced, WAN, NAT or Advanced Setup.

  1. Log in to your router. Open a browser and go to the router address, often 192.168.1.1 or 192.168.0.1, then sign in with the admin password.
  2. Find the UPnP setting. Look under Advanced Settings, WAN Settings, NAT Forwarding or a similar menu.
  3. Turn UPnP off and save. Untick the enable box, click Save or Apply, and restart the router if prompted.
  4. Test your devices. Use your games, cameras and apps for a few days and note anything that stops working.
  5. Forward ports only where needed. For anything that broke, add a manual rule for that service alone.

If you cannot find the setting, check your router maker's support page for your exact model. Some ISP-supplied routers hide UPnP in an app rather than the web interface, and a few do not let you turn it off at all — in that case, ask your ISP for a replacement or put your own router behind theirs.

Change the admin password tooWhile you are in the router settings, change the default admin password if you have not already. A strong admin password matters more than any single toggle, including UPnP.

What else should I check while I am in the router?

UPnP is one of several router settings worth reviewing in the same visit. Remote management should be off unless you genuinely need it, because it exposes the admin page to the internet.

WPS, the push-button Wi-Fi setup feature, has known weaknesses and is best disabled once your devices are connected. Guest Wi-Fi should be on a separate network from your main devices, so a visitor's compromised phone cannot reach your computers.

Finally, update the firmware. Many routers do not update themselves, and old firmware is a far bigger risk than UPnP alone. A home network with current firmware, a strong Wi-Fi password and UPnP off is already ahead of most households.

See the full list in our how to secure your Wi-Fi guide.

The bottom line

Disable UPnP unless a service you use every day breaks without it. The convenience is real, but so is the risk: any device on your network, including a compromised one, can open ports in your firewall with no authentication.

Turn it off, test for a week, and forward ports manually for the few services that need them. If you want a broader check of your home network, start with our free DNS lookup tool and the Wi-Fi security guide linked above.

Frequently asked questions

Should I disable UPnP on my router?

For most homes, yes. Disabling UPnP stops any device on your network from opening ports automatically, which reduces your attack surface. Only keep it on if a service you use regularly stops working without it.

What is UPnP in simple terms?

UPnP stands for Universal Plug and Play. It is a protocol that lets devices on your home network discover each other and automatically ask your router to open ports, so they can connect without manual setup.

What breaks if I disable UPnP?

Some online games may show a strict NAT type, voice chat or peer-to-peer apps may struggle, and some smart-home devices may lose remote access. Most browsing, streaming and video calls keep working normally.

Is UPnP safe if my router firmware is up to date?

It is safer, but not risk-free. The core problem is design, not just old firmware: UPnP has no authentication, so any compromised device on your network can still request open ports.

What is the difference between UPnP and port forwarding?

UPnP opens ports automatically on request from any device. Manual port forwarding opens only the specific ports you choose, for the specific device you choose, and only for as long as you leave the rule in place.

Does disabling UPnP slow down my internet?

No. Disabling UPnP does not reduce your internet speed. It only stops automatic port opening. Your normal downloads, streaming and browsing use outgoing connections, which do not need UPnP.

How do I turn off UPnP?

Log in to your router admin page, usually at 192.168.1.1 or 192.168.0.1, find the UPnP setting under Advanced, WAN or NAT settings, turn it off, save, and restart the router.

Should gamers disable UPnP?

Many gamers keep UPnP on because it gives an open NAT type with no setup. The safer option is to disable UPnP and forward only the ports your console or game needs, using the console maker's published port list.

Sources

  1. Norton — What is UPnP and is it safe?
  2. TP-Link — What Is UPnP, and Should You Enable It on Your Router?
  3. Proton VPN — What is UPnP and why should you disable it?
  4. XDA Developers — 4 reasons you should consider disabling UPnP in your router
  5. CISA — Securing your home network guidance
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against Norton, TP-Link and Proton VPN guidance on UPnP and CISA home network advice.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free