Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: port forwarding

Subject: Re: port forwarding
Date: Thu, 2 Dec 2004 14:42:53 -0500 (EST)
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.

<Prev in Thread] Current Thread [Next in Thread>