Немного о SSH Tunnels
January 28th, 2009
No comments
Тунель: remotehost -> 127.0.0.1:3389 -ssh-> case.net.ru -> 172.16.127.4:3389
remotehost# ssh -f -N -o port=222 -L 127.0.0.1:3389:172.16.127.4:3389 case.net.ru
Тунель: case.net.ru -> 127.0.0.1:8080 -ssh-> remotehost -> yandex.ru 80
remotehost# ssh -f -N -R 127.0.0.1:8080:yandex.ru:80 case.net.ru
Используется для: построения цепей, соединения двух клиентов за натами, шифрования соединения.
