Tunnelling with -R
From: Richard Caley (MYFIRSTNAME@MYLASTNAME.org.uk)
Date: 12/23/02
- Next message: Erin Michaud: "Re: hostbased auth between commercial and OpenSSH"
- Previous message: Dimitri Maziuk: "Re: scp?"
- Next in thread: Kyler Laird: "Re: Tunnelling with -R"
- Reply: Kyler Laird: "Re: Tunnelling with -R"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Richard Caley <MYFIRSTNAME@MYLASTNAME.org.uk> Date: Mon, 23 Dec 2002 12:01:00 GMT
I am trying to forward connections to a server behind a NAT router. On
the server machine I run
ssh [...] -R remoteport:localhost:port user@remotehost sleep 30
This listens on port 127.0.0.1:remoteport on remotemachine.
So I can connect from a process on the remote machine to the hidden
server. So far so good.
I would like to be able to connect to that remote server from other
machines on the network where remotehost lives. When using a -L style
tunnel the -g argument works, but for -R it doesn't seem to be
working.
I can understand that `poke a hole through the firewall and let anyone
connect through' is a dangerous operation, but in this case both ends
are behind firewalls, so I am just bringing one (relatively) safe area
inside another.
(OpenSSH_2.5.2p2 at the server end, OpenSSH_3.4p1 at the client end).
-- Mail me as MYFIRSTNAME@MYLASTNAME.org.uk _O_ |<
- Next message: Erin Michaud: "Re: hostbased auth between commercial and OpenSSH"
- Previous message: Dimitri Maziuk: "Re: scp?"
- Next in thread: Kyler Laird: "Re: Tunnelling with -R"
- Reply: Kyler Laird: "Re: Tunnelling with -R"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|