summaryrefslogtreecommitdiff
path: root/ext/libnatpmp/natpmpc.1
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-30 13:10:22 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-30 13:10:22 -0800
commit67685213309a3e4aaa76a2f3173af5dd0ffa3eec (patch)
tree7b5745bfebac22cf83ef834b73d751b3467a07de /ext/libnatpmp/natpmpc.1
parent6c0de526e864716a6c11d05108d4034257a19d5c (diff)
downloadinfinitytier-67685213309a3e4aaa76a2f3173af5dd0ffa3eec.tar.gz
infinitytier-67685213309a3e4aaa76a2f3173af5dd0ffa3eec.zip
Ton of uPnP work and adding NAT-PMP support, still testing...
Diffstat (limited to 'ext/libnatpmp/natpmpc.1')
-rw-r--r--ext/libnatpmp/natpmpc.119
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/libnatpmp/natpmpc.1 b/ext/libnatpmp/natpmpc.1
new file mode 100644
index 00000000..5f0003da
--- /dev/null
+++ b/ext/libnatpmp/natpmpc.1
@@ -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.