Saturday, February 9, 2008

Port forwarding

SSH allows to realize of the tunnels cripta you, that they allow to transport arbitrary sessions TCP to the inside of the criptata logon, allowing protect from interception not sure protocols, or to go around limitations of routing.

This functionality is said port forwarding, and allows to open one socket TCP on client the SSH (local port forwarding) or on the serveur (remote port forwarding). The logons received on this door come forwarded from the other head of logon SSH, towards a host and one specific door.

As an example, with this commando it is connected to us to host1, forwarding the door 10022> of the machine in which we launch the client ssh to door 22 of host2 through a sure channel between client and host1

ssh host1 - L 10022:host2:22

No comments: