Fa�o isso utilizando o rinetd.

O meu /usr/local/etc/rinetd.conf � assim:

200.180.xxx.xxx 5800 192.168.0.12 5800
200.180.xxx.xxx 5900 192.168.0.12 5900


Atenciosamente,

Alfredo Tomio Junior
Administrador de Redes e Sistemas
Telefone 48 2416822 - [EMAIL PROTECTED]

From: "M�rio Augusto Cardia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 10:00 AM
Subject: Re: [FUGSPBR] tunnel usando SSH


> ssh2 -l usuario -L81:localhost:80 servidor_com_sshd
>
> Este comando ir� direcionar todo pedido feito a localhost:81 para o
> servidor_com_sshd:80
>
> Troque as portas pelas do vnc: "-L5900:localhost:5900"
>
> Acho que � isso.
>
> Mais informa��es:
> http://www.onlamp.com/pub/a/onlamp/excerpt/ssh_11/index3.html
>
> []�s
>
> M�rio Augusto Cardia
> Degen Network Solutions
> Gerente de Projetos
> [EMAIL PROTECTED]
> Tel: (14) 3214 1811/Cel: (14) 9651 2221
> Visite nosso site: www.degen.com.br
>
>
>
>
> ----- Original Message -----
> From: "Renato Botelho" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 16, 2003 7:54 AM
> Subject: [FUGSPBR] tunnel usando SSH
>
>
> > Pessoal,
> >
> > Eu preciso acessar de fora algumas maquinas windows que estao aqui
> > dentro da empresa usando vnc, estava procurando no historico da lista e
> > achei uma msg que falava para usar o redirect do natd, mas que tb havia
> > uma solucao melhor usando um tunnel com ssh, porem nao consegui achar
> > essa msg no historico...
> >
> > alguem aih jah fez isso?? Onde posso conseguir algum material???
> >
> > Obrigado
> >
> > Renato
> >
> > _______________________________________________________________
> > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
> _______________________________________________________________
> Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a