Jump to content

NAT Port Mapping Protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dsimic (talk | contribs) at 00:48, 20 November 2015 (Actually, it would look better in prose, which is doable). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The 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.

NAT-PMP was introduced in 2005 by Apple as an alternative to the more common ISO Standard[2] Internet Gateway Device Protocol implemented in many NAT routers. The protocol was published as an informational Request for Comments (RFC) by the Internet Engineering Task Force (IETF) in RFC 6886.

NAT-PMP is the precursor to the Port Control Protocol (PCP).[3]

Operation

NAT-PMP runs over the User Datagram Protocol (UDP) and uses port number 5351.

This protocol has no built-in authentication mechanisms, resulting in opening itself to abuse. Protocol design treats all hosts belonging to the router's local network as trusted and allows them to freely "punch" holes through the network firewall. Though extremely convenient, such a relaxed design opens itself to easy exploiting by malicious software running on any computer that belongs to the local network, or by any rogue computers that manage to gain access to the local network. As a result, intruders can access otherwise firewalled local network services by abusing malicious "holes" punched through the firewall.[1]

Some of the NAT-PMP implementations aim to mitigate those issues by enforcing constraints to port mappings.[4]

Support

Applications supporting NAT-PMP include the following:

Routers supporting NAT-PMP include the following, listing the manufacturer, model, and tested firmware version:

See also

References

  1. ^ a b 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. ^ RFC 6887, Port Control Protocol (PCP), Wing, Cheshire, Boucadair, Penno & Selkirk (April 2013)
  4. ^ "AstLinux: Universal Plug'n'Play (NAT-PMP and UPnP)". AstLinux. Retrieved 2013-09-15.
  5. ^ "nat-pmp-info NSE Script". Nmap. Retrieved 2013-09-15.
  6. ^ "Universal Plug'n'Play and NAT-PMP on OpenWrt - OpenWrt Wiki". OpenWrt. Retrieved 2013-09-15.