
List: This will list all ports currently forwarded.Delete: This will delete a previous entry from our list of forwarded ports.Add: This argument is used to create the forwarding.-r: The IP address the connections are relayed to (target).-p: The port to which TCP connections will be forward to.Connections to this port will be forwarded to the remote system. -l: This is a local port which will listen on the attacking machine.Unless you need the forwarding to occur on a specific network adapter you can omit this option. -L: Use to specify the listening host.L >opt> The local host to listen on (optional).

From an active Meterpreter session, typing portfwd –h will display the command’s various options and arguments.
