What is UPnP and why you should disable it immediately (2024)

Contents

  • What is port forwarding?
  • What is UPnP?
  • What is UPnP used for?
  • Is UPnP better for gaming?
  • Why isn’t UPnP safe?
  • How to protect yourself
  • What happens if I turn off UPnP on my router?

What is port forwarding?

To understand what UPnP is, you should first understand port forwarding. Port forwarding is used to establish a direct connection between your home device or a server and a remote device. For example, you might want to connect your laptop to your home camera and keep an eye on them while you are away.

How does it work? All your home devices, including your router, together create a so-called Local Area Network (LAN). Everything outside the LAN, such as website servers or your friend’s computer, are on the Wider Area Network (WAN). Usually, no one outside your LAN can access devices on your network unless you let them via port forwarding.

What is UPnP?

UPnP definition

UPnP (Universal Plug and Play) is a network protocol that allows apps and devices to open and close ports automatically in order to connect with each other. UPnP requires zero configuration — you can add a new device to your network and have it automatically connect with your other devices.

For example, if you want to connect a printer to everyone in your household without UPnP, you would need to connect the printer to every single device. UPnP automates this.

Zero-configuration means that none of the devices on your network need manual configuration to discover a new device. UPnP-enabled devices can automatically join a network, obtain an IP address, and find and connect to other devices on your network, making it very convenient.

Check out our video on UPnP below.

What is UPnP and why you should disable it immediately (1)

What is UPnP used for?

  • Gaming. Connecting Xboxes and other gaming consoles like the Nintendo Switch to stream online games;
  • Remote home surveillance. You can use UPnP to connect to your home cameras while you’re away;
  • Digital home assistants like Echo dots;
  • Internet of Things devices for wireless home automation like smart lighting, internet-controlled thermostats, and smart locks;
  • Streaming content with a media server;
  • Streaming videos through internet TV devices like Roku stick or Apple TV.

Is UPnP better for gaming?

UPnP certainly makes the gaming experience easier. Instead of you having to manually identify your port number for each device or online game, UPnP does it for you. However, if you decide to go the manual port forwarding route, there are online tutorials on how to open specific ports for certain games and devices.

Some argue that manual port forwarding is better for your internet connection speed, since UPnP causes lag. But does it, really? It’s highly unlikely, but when it comes to gaming, it might add latency to your connection, yet it shouldn’t affect your download speed.

Why isn’t UPnP safe?

Originally, UPnP was only supposed to work on the LAN level, meaning that only devices on your network could connect to each other. However, many router manufacturers now enable UPnP by default, making them discoverable from the WAN, which leads to many security issues.

UPnP doesn’t use authentication or authorization (only some devices), assuming that devices trying to connect to it are trustworthy and come from your local network. This means that hackers can find backdoors to your network. For example, they can discover your router on the wider net and then pretend to be an Xbox. They will send a UPnP request to your router and the router will open the port – no questions asked.

Once the hacker gets a presence on the network, they can:

  • Get remote access to other devices connected to the same network;
  • Install malware on your devices;
  • Steal your sensitive information;
  • Use your router as a proxy to hide other malicious activities over the wider net. They can use it to spread malware, steal credit card information, and perform phishing attacks, or Denial of Service (DDoS) attacks. Using your router as a proxy means that all these attacks will look like they are coming from you rather than the hacker.

How to protect yourself

When it comes to UPnP router vulnerabilities, there are two options you can choose to protect yourself.

First, you can enable UPnP-UP (Universal Plug and Play – User Profile), which provides authentication and authorization mechanisms for UPnP devices and applications. However, this is not a foolproof method as many devices don’t fully support it and might still assume that other devices connecting to your router are trustworthy.

The other more secure method is to disable UPnP completely. Before you do, it’s recommended to check whether your router is vulnerable to UPnP exploits. You should also consider whether you want to give up the convenience of UPnP and whether you will be able to set up your devices manually. Doing so may require some technical know-how.

What happens if I turn off UPnP on my router?

If you turn off UPnP altogether, your router will ignore all incoming requests so you’ll have to set up devices manually. This means that the router will no longer automatically open ports on your LAN, ignoring even legitimate requests.

This doesn’t mean you won’t be able to connect to devices on your network or online games. But it will be more of a hassle. You’ll have to manually set up the port forwarding rules for each specific connection, which will require more time, effort, and technical knowledge. However, there are online tutorials to guide you through specific port forwarding.

Want to read more like this?

Get the latest news and tips from NordVPN.

We won’t spam and you will always be able to unsubscribe.

What is UPnP and why you should disable it immediately (2024)

FAQs

What is UPnP and should I disable it? ›

UPnP allows apps and devices to communicate with each other on a LAN network by opening and closing ports. However, this connectivity convenience comes at a price. Researchers have reported multiple incidents involving enabled UPnP. Thus, turning this setting on could expose your device to unnecessary security risks.

What will happen if I disable UPnP? ›

What happens if I turn off UPnP? If you turn off UPnP on your router, it'll stop granting all port forwarding requests. It won't let a device use a port even if you authorize it. You'll have to manually set up ports on your router for each device.

What is the purpose of UPnP? ›

UPnP (Universal Plug and Play) is a service that allows devices on the same local network to discover each other and automatically connect through standard networking protocols (such as TCP/IP HTTP, and DHCP).

Is it safe to turn on UPnP? ›

UPnP is generally safe as long as your router is updated and secure. If not, UPnP poses serious security risks, since it's built into many new devices — even unverified ones connected to your network. If a device is infected with malware, it could bypass security restrictions and infect other devices on your network.

Does UPnP slow down WIFI? ›

Some argue that manual port forwarding is better for your internet connection speed, since UPnP causes lag. But does it, really? It's highly unlikely, but when it comes to gaming, it might add latency to your connection, yet it shouldn't affect your download speed.

Is UPnP important for Xbox? ›

Universal Plug and Play (UPnP) is what your Xbox uses to set up your router for multiplayer gaming and chat. If you see “UPnP Not Successful” in your console's Network settings, first see if your router needs an update.

What is the disadvantage of UPnP? ›

UPnP will cause heavy network traffic, especially if a home care system is rebooted. Each device will communicate with every other device on the network, so the number of messages being transmitted could be very large. This could temporarily slow the network down if only limited bandwidth is available.

Does UPnP make internet faster? ›

You have to use UPnP to connect a connection with any server or device. But like we said earlier, UPnP doesn't have any real-time impact on your latency, internet speed, or bandwidth. To make a long story short, if your internet connection is slow af, UPnP will not magically make it work faster.

Is UPnP on router or modem? ›

Universal Plug and Play (UPnP) allows devices on the modem network to discover each other and establish sharing and communications.

Is UPnP needed for gaming? ›

Enable UPnP

Because every service requires a different set of ports to be opened, this is the easiest way to ensure a properly opened NAT for gaming. It is also required if you are simultaneously using more than one game console or game online.

Does UPnP mess up port forwarding? ›

UPnP Settings

It is not recommended to enable both UPnP and Port Forwarding at the same time. UPnP is REQUIRED if players use more than one device to play Destiny on the same network simultaneously.

Top Articles
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 5514

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.