table of contents
other versions
- bookworm 20150609-7.1+b2
- testing 20230423-1.1
- unstable 20230423-1.1
- experimental 20230423-1.2~exp1
natpmpc(1) | General Commands Manual | natpmpc(1) |
NAME¶
natpmpc - NAT-PMP library test client and mapping setter.
SYNOPSIS¶
Display the public IP address:
natpmpc
Add a port mapping:
natpmpc -a <public port> <private port> <protocol>
[lifetime]
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.