The first version of libnat has been released. This version, marked 0.1, is a beta release, and has therefore not been tested on as many routers as some might want to include it in certain software projects.
With that note out of the way, I'll discuss what this release includes. The libnat library is extremely simple to use. It only contains 5 public functions for which to query for a router on the network, retrieve the external ip address of the router, and manage port forwardings on it.
Each of the functions use the UPnP (http://www.upnp.org) protocol to control the router, but future releases plan to include different protocols for the user to choose from, including NAT PMP, and maybe even STUN. Stay tuned for updates!
-Adam