I'm planning on using UPNP to allow p2p connections for multiplayer. I'd like to make sure I'm following good security practices, so I have the following questions.
Should I minimize the time that ports spend "forwarded"? Or is it okay to leave a port "forwarded" to the current device, and assume that the next device that needs to use that port will override it?
Also, it seems as if many routers now ship with UPNP off for security reasons, and that there are other ways (NAT hole-punching) of automatically establishing a p2p connection between two devices that are both behind routers. Should I consider using something other than UPNP, and if so, how would that be implemented in godot?