macOS
brew install libnatpmplocal Homebrew formula metadata
sudo port install libnatpmpMacPorts ports tree · net/libnatpmp/Portfile · source: api.github.com
brew / rank 4935
NAT port mapping protocol library. Version 20230423 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libnatpmp-dev.
install
brew install libnatpmplocal Homebrew formula metadata
sudo port install libnatpmpMacPorts ports tree · net/libnatpmp/Portfile · source: api.github.com
sudo apk add libnatpmpAlpine Linux edge package indexes · libnatpmp · source: dl-cdn.alpinelinux.org
sudo dnf install libnatpmpFedora Rawhide package metadata · libnatpmp · source: dl.fedoraproject.org
nix profile install nixpkgs#libnatpmpnixpkgs package indexes · pkgs/by-name/li/libnatpmp/package.nix · source: api.github.com
sudo pacman -S libnatpmpArch Linux sync databases · libnatpmp · source: geo.mirror.pkgbuild.com
sudo apt install libnatpmp-devDebian stable package indexes · libnatpmp-dev · source: deb.debian.org
overview
NAT port mapping protocol library
history
libnatpmp is the MiniUPnP project's small C client library for NAT Port Mapping Protocol, with a natpmpc command-line client for requesting mappings from NAT gateways.
The official MiniUPnP page describes NAT-PMP as a NAT traversal protocol and positions libnatpmp as a client-side implementation. The GitHub README says the repository was initialized from libnatpmp-20120821 and records Thomas Bernard's 2007-2009 copyright.
The protocol context comes from RFC 6886: NAT-PMP automated NAT port mappings, was implemented in Apple products from 2005 onward, and was superseded in 2013 by Port Control Protocol while retaining a compatible packet-format lineage.
libnatpmp's adoption follows the MiniUPnP ecosystem and peer-to-peer networking use cases where software wants an explicit router port mapping without relying on UPnP IGD. The MiniUPnP documentation includes examples for simple redirection and a P2P-style initialization state machine.
In package managers, libnatpmp is small but useful: it gives applications a portable asynchronous NAT-PMP client library and gives users the natpmpc tool for testing gateway support.
Applications initialize a natpmp_t object, send address or port-mapping requests, wait with select using the timeout helper, and read responses or retry. The API is intentionally event-loop-friendly because calls are asynchronous and based on non-blocking sockets.
Package nerds care about libnatpmp because it is the tiny sharp tool beside MiniUPnP: one library, one protocol, one CLI, and enough C API to let network applications punch a NAT mapping when the gateway supports NAT-PMP.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
natpmpc | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:libnatpmp |
|---|---|
| Version | 20230423 |
| Package manager | Homebrew |
| Homepage | https://miniupnp.tuxfamily.org/libnatpmp.html |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnatpmp-dev 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (dev files)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp-devlibnatpmp1t64 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp1t64natpmpc 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (client)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install natpmpcpython3-libnatpmp 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (Python 3 bindings)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install python3-libnatpmplibnatpmp
nix profile install nixpkgs#libnatpmplibnatpmp-dev 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (dev files)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp-devlibnatpmp1t64 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp1t64natpmpc 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (client)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install natpmpcpython3-libnatpmp 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (Python 3 bindings)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install python3-libnatpmplibnatpmp 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmplibnatpmp-dev 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol (development files)
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmp-devlibnatpmp-doc 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol (documentation)
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmp-doclibnatpmp 20230423-10.fc45
Library of The NAT Port Mapping Protocol (NAT-PMP)
http://miniupnp.free.fr/libnatpmp.html
sudo dnf install libnatpmplibnatpmp-devel 20230423-10.fc45
Development files for libnatpmp
http://miniupnp.free.fr/libnatpmp.html
sudo dnf install libnatpmp-devellibnatpmp 20230423-3
A portable and fully compliant implementation of the NAT-PMP protocol
http://miniupnp.free.fr/libnatpmp.html
sudo pacman -S libnatpmplibnatpmp
sudo port install libnatpmpsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.