Jump to content

NAT Port Mapping Protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2001:8e0:222a:5700:22d0:f3f:d7e3:d8b8 (talk) at 17:12, 3 June 2023 (Updated 'see also' order, added UPnP acronym and Internet Gateway Device Protocol). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

NAT Port Mapping Protocol (NAT-PMP) is a network protocol for establishing network address translation (NAT) settings and port forwarding configurations automatically without user effort.[1] The protocol automatically determines the external IPv4 address of a NAT gateway, and provides means for an application to communicate the parameters for communication to peers. Apple introduced NAT-PMP in 2005 by as part of the Bonjour specification, as an alternative to the more common ISO Standard Internet Gateway Device Protocol implemented in many NAT routers.[2][3] The protocol was published as an informational Request for Comments (RFC) by the Internet Engineering Task Force (IETF) in RFC 6886.

NAT-PMP runs over the User Datagram Protocol (UDP) and uses port number 5351. It has no built-in authentication mechanisms because forwarding a port typically does not allow any activity that could not also be achieved using STUN methods. The benefit of NAT-PMP over STUN is that it does not require a STUN server and a NAT-PMP mapping has a known expiration time, allowing the application to avoid sending inefficient keep-alive packets.

NAT-PMP is the predecessor to the Port Control Protocol (PCP).[4]

See also

References

  1. ^ RFC 6886, NAT Port Mapping Protocol (NAT-PMP), S. Cheshire & M. Krochmal (April 2013)
  2. ^ ISO/IEC 29341, http://www.iso.org/iso/home/news_index/news_archive/news.htm?refid=Ref1185
  3. ^ "NAT Port Mapping Protocol (NAT-PMP)". MiniUPnP.Free.fr. Retrieved November 30, 2021.
  4. ^ RFC 6887, Port Control Protocol (PCP), Wing, Cheshire, Boucadair, Penno & Selkirk (April 2013)