UPnP and NAT-PnP are different implementations of the same concept. They both allow for automated port mapping. These protocols are both designed to make it easy for clients to automatically configure port mapping. UPnP is commonly associated with Microsoft-based systems, while NAT-PnP is more commonly associated with Apple.
In this recipe, we will describe how to enable UPnP and NAT-PnP.