View Single Post

  #7 (permalink)  
Old 08-13-2004
Alexander Clouter
 
Posts: n/a
Default Re: Don't know if SSH was ever designed to do this, but...

On 2004-08-10, Chris Adams <rocket@extremelan.net> wrote:
> G'day,
>
> I'm wondering if it's possible to tunnel a TCP connection using shell
> redirection over an ssh connection? The sshd I wish to tunnel through
> happens to have AllowTcpForwarding set to no, and I'd like to be able to
> tunnel through it to get to my home network, mainly to use RDP on port 3389
> (winxp remote desktop).
>
> I've so far been looking at a solution combining twinpipe with nc... so the
> command line looks like:
>
> twinpipe 'ssh <home> nc -p 3389' 'nc -l -p 3389'
>

I am pretty sure http://slirp.sourceforge.net/ is going to be a better
solution.

Cheers

Alex
Reply With Quote