Let’s say you have your workstation with PuTTY installed, and you have accessed a remote machine via SSH. If you wanted to get to a service running on that remote machine you’d either need direct port access from your workstation to the remote machine on that port, or you can tunnel a port (or ports) via the SSH connection.
For example I have a remote machine on 192.168.101.151. I want to make port 8000 on my local machine map (and tunnel) to port 8000 on the remote machine’s localhost IP address, for this I’d use the following configuration within PuTTY:
