Most routers ship with UPnP on, and it lets any device quietly open ports to the internet
Your router opens ports for anyone who asks.
Routers often ship with Universal Plug and Play (UPnP) enabled, which allows devices on the network to automatically open ports to the internet without any user intervention. This feature is commonly enabled by default on consumer routers, but many users are unaware of its presence. UPnP works by allowing applications to request port mappings from the router, which then forwards incoming connections to the appropriate devices.
While UPnP can be convenient for specific use cases like hosting games or remote access, it poses a significant security risk. When enabled, UPnP can expose compromised devices to external connections, making it easier for malware to take control. Unlike manual port forwarding, which requires user approval and oversight, UPnP operates without notifying users, potentially allowing malicious systems to exploit it unnoticed.
To enhance network security, it is advisable to turn off UPnP and configure port mappings manually when necessary. This approach ensures that only approved applications can open ports and maintain control over network access. Checking for any existing UPnP settings in the router's advanced or NAT/WAN configuration pages is recommended.
Disabling UPnP and any similar protocols like NAT-PMP or PCP should be straightforward and typically involves a single toggle switch. After disabling UPnP, the router should be restarted to clear any lingering port mappings. For essential services that require internet access, manual port forwarding is recommended, allowing users to maintain control over network access and minimize potential risks.
Rewritten by urgent.news; may contain errors — check the original.
Source: xda-developers.com