SSH tunnel with PuTTY
Imagine, you can SSH to a host / server and use this SSH server as a proxy to access any local webserver (or anything else) on the local network of the SSH server… This is easily possible with PuTTY (awesome SSH client!).
As a demo, lets say we have the following topology:
We would like to manage the local firewall (192.168.1.254) from a pc on the internet. We assume that we can SSH into the SSH server.
Open PuTTY and open Connections – SSH – Tunnels
In source port, we choose a (high) port number which is available on the local pc
As destination we fill in the destination IP and portnumber of the webpage we want to reach
Click Add
Go to the start screen of PuTTY: Session And connect to the SSH server
Log in into the SSH server with your credentials.
And now.. you can open your browser and browse to http://127.0.0.1:1234 and you’ll be redirected to http://192.168.1.1:8080