Port Fowarding is pivoting technique where we use our attacker machine ports to connect to a remote machine ports that is not publicly accessible. Similarly, we can also make remote machine ports to connect to our attacker machine ports. Common Port Forwarding Techniques are :
Local port forwarding.
Remote port forwarding.