UPNP IGP

#TIL in more detail how networked devices auto expose their listening ports to the external world without any user interaction on their routers.

Key: Router UPnP allowing NAT traversal using the IGD Protocol.

There’s even a ruby lib that helps you talk to your router to forward a port to a device behind NAT.

Reference: Security Stackexchange