Re: port forwarding
From: Robert Hajime Lanning (robert.lanning_at_gmail.com)
Date: 12/03/04
- Previous message: jniehof_at_bu.edu: "Re: port forwarding"
- In reply to: jniehof_at_bu.edu: "Re: port forwarding"
- Next in thread: Greg Norris: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 2 Dec 2004 16:27:53 -0800 To: secureshell@securityfocus.com
no, he has the direction right.
"l" has direct access to "w" (database). "r" is remote somewhere with
the client
utilities.
He is on "l", ssh'ing to "r" to run the client utilities on "r", that
need the tunnel
back to "l", so it can talk to "w".
I think his issue maybe that the client utilities are trying to
connect to a well
known port (1521), while he has ssh listening on 11523.
On Thu, 2 Dec 2004 14:42:53 -0500 (EST), jniehof@bu.edu <jniehof@bu.edu> wrote:
> > I want to access the database on w from r. There is no direct connection
> > between w and r. I only have a ssh tunnel from r to l.
> > To establish the connection, I startet a ssh connection to r on l and
> > forward port 11523 on r to port 1521 on w:
> >
> > ssh -v r -R 11523:w:1521 -g -N
> >
> > Trying to use the oracle tools on r, I cannot get the connection to w.
> > But it should work. :-)
> -R vs. -L determines which "end" is forwarded. -L forwards connections to
> ports on the local machine, transforming them into connections to what you
> specify in the forward.
>
> If I understand correctly, what you want to do is:
> ssh -v r -L 11523:w:1521 -g -N
> and then point your oracle tools to localhost as the database.
>
--
END OF LINE
-MCP
- Previous message: jniehof_at_bu.edu: "Re: port forwarding"
- In reply to: jniehof_at_bu.edu: "Re: port forwarding"
- Next in thread: Greg Norris: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|