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. |

| Subject: | Re: port forwarding |
|---|---|
| Date: | Thu, 2 Dec 2004 16:27:53 -0800 |
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: port forwarding, jniehof |
|---|---|
| Next by Date: | Can't login, Andrew Afliatunov |
| Previous by Thread: | Re: port forwarding, jniehof |
| Next by Thread: | Re: port forwarding, Greg Norris |
| Indexes: | [Date] [Thread] [Top] [All Lists] |