natpmp [-v | -q] [-b [-p pidfile]] -i public-interface -a private-address... [-t max-lifetime] [-l lower-port] [-u upper-port] [[--] backend-options]
natpmp -V
This is an implementation of NAT-PMP written in C.
-vverbose mode
-qquiet mode
-bfork into background
-p pidfilewrite the process ID to pidfile, has only an effect
when -b is given
-i public-interfaceuse public-interface for internet site
-a private-addressuse private-address for local site
Don't use 0.0.0.0 here. Better set the ip addresses of each interface. natpmp will exit with failure when the public ip address changes and the system can't find a route for sending the multicast announces.
-t max-lifetimemaximal lifetime of a mapping
-l lowest-portlowest port available for mappings
-u upper-porthighest port available for mappings
-Vprint version and license information
A backend is chosen at compile time. At the moment only an iptables backend is available. But there surely will be more.
Please report bugs with the bug tracking system on the project page. http://savannah.nongnu.org/projects/natpmp/
Copyright © 2007 Adrian Friedli.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License http://www.gnu.org/licenses/gpl.html. There is NO WARRANTY, to the extent permitted by law.