natpmpc.1 413 B

12345678910111213141516171819
  1. .TH natpmpc 1
  2. .SH NAME
  3. natpmpc \- NAT\-PMP library test client and mapping setter.
  4. .SH "SYNOPSIS"
  5. Display the public IP address:
  6. .br
  7. \fBnatpmpc\fP
  8. Add a port mapping:
  9. .br
  10. \fBnatpmpc\fP \-a <public port> <private port> <protocol> [lifetime]
  11. .SH DESCRIPTION
  12. In order to remove a mapping, set it with a lifetime of 0 seconds.
  13. To remove all mappings for your machine, use 0 as private port and
  14. lifetime.