Ton of uPnP work and adding NAT-PMP support, still testing...

This commit is contained in:
Adam Ierymenko 2015-11-30 13:10:22 -08:00
commit 6768521330
36 changed files with 3703 additions and 245 deletions

19
ext/libnatpmp/natpmpc.1 Normal file
View file

@ -0,0 +1,19 @@
.TH natpmpc 1
.SH NAME
natpmpc \- NAT\-PMP library test client and mapping setter.
.SH "SYNOPSIS"
Display the public IP address:
.br
\fBnatpmpc\fP
Add a port mapping:
.br
\fBnatpmpc\fP \-a <public port> <private port> <protocol> [lifetime]
.SH DESCRIPTION
In order to remove a mapping, set it with a lifetime of 0 seconds.
To remove all mappings for your machine, use 0 as private port and
lifetime.