File: natpmpc.1

package info (click to toggle)
libnatpmp 20150609-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 300 kB
  • sloc: ansic: 1,430; java: 312; makefile: 150; python: 23
file content (19 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.