Scenario:
Origin => MachineA => FW => MachineB
We've access to MachineA through SSH and MachineA has access to MachineB through FW. We want to reach the remote port 5000 of MachineB; We'll map our localhost 5000 port to remote 5000 port of MachineB through the MachineA.
The SSH command will be: