How to use the upnp protocol

< H1 > what is the main purpose of upnp protocol? Can this requirement be achieved? < / H1 >

Baidu went to php/java to implement upnp, and found that they are all profiles

.

so I"d like to ask a question: if there are multiple routers and multiple nat in the room, can the upnp on the computer penetrate? (I don"t know the password of the superior router, so I can"t set the port mapping on the superior router)

< H1 > is there a corresponding code implementation? < / H1 >

php/java/py how to use upnp for port mapping (public network ip is easy to get). Let me learn an example and take a look.

Wikipedia describes
NAT traversal
UPnP brings a solution for NAT (Network address Translation) penetration: Internet Gateway device Protocol (IGD). NAT traversal allows UPnP packets to pass through a router or firewall without user interaction (if that router or firewall supports NAT).

I want to use his nat to penetrate, but I don"t want frps. I don"t want to use a third party to forward it. I want to use upnp to penetrate directly.

Jun.24,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3324d-2abb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3324d-2abb5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?