Re: port forwarding
From: Robert Hajime Lanning (robert.lanning_at_gmail.com)
Date: Thu, 2 Dec 2004 10:42:04 -0800 To: firstname.lastname@example.org
I would try this:
$ ssh -v r -R 1521:w:1521 -g -N
Then make sure the tools are connecting to localhost or 127.0.0.1.
On Thu, 02 Dec 2004 13:29:46 +0100, Rainer Lay
> I have here a complicated setup for port forwarding. I want to forward a
> port of a oracle database. Three computers are involved:
> w: windows machine with oracle installed
> r: remote, linux. Here I want to run some oracle tools
> l: local, linux. A Box between those two
> 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. :-)
> Accessing the oracle port on w from l directly works without problems.
> So there must be something wrong with the tunnel.
> Any ideas what I am doing wrong?
> kind regards,
-- END OF LINE -MCP