NAT-PMP Port Mapper | Metasploit Exploit Database (DB)

NAT-PMP Port Mapper

Map (forward) TCP and UDP ports on NAT devices using NAT-PMP

Search Other Modules


Rank

  • Normal

Authors

  • Jon Hart < jhart [at] spoofed.org >

Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use auxiliary/admin/natpmp/natpmp_map
msf auxiliary(natpmp_map) > set LPORT [MY LISTENER PORT]
msf auxiliary(natpmp_map) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(natpmp_map) > set RPORT [TARGET PORT]
msf auxiliary(natpmp_map) > run


Module Options

CHOST The local client address
LIFETIME Time in ms to keep this port forwarded (default: 3600000)
LPORT The listen port
NATPMPPORT NAT-PMP port to use (default: 5351)
PROTOCOL Protocol to forward (accepted: TCP, UDP) (default: TCP)
RHOSTS The target address range or CIDR identifier
RPORT The target port
THREADS The number of concurrent threads (default: 1)
ShowProgress Display progress messages during a scan
ShowProgressPercent The interval in percent that progress should be shown
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module