Manpage logo

natpmpc - NAT-PMP library test client and mapping setter.

NAME  SYNOPSIS  DESCRIPTION 

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.


Updated 2026-06-01 - jenkler.se | uex.se