Social Icons

twitterfacebookgoogle plusrss feedemail

terça-feira, 23 de junho de 2015

Como fazer um tunel SSH no Linux [HowTo]

Comando SSH para fazer um tunel:

ssh -f root@172.16.0.15 -L 1234:192.168.50.25:80 -N

Onde:
172.16.0.15 = é o IP que temos acesso, por onde será feito o túnel
-L 1234 = portal local (localhost:1234)
192.168.50.25:80 = IP destino e porta destino