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]

X-like Port Forwarding

Subject: X-like Port Forwarding
Date: Wed, 8 Aug 2007 17:18:12 -0400
Hello,

Does SSH support forwarding miscellaneous ports between two firewalled
hosts? My scenario is this:


         12345-|                    |-12345
MyPC          |---------------22-|           Server
           6000-|                    |-6000


Forwarding 12345 on server to MyPC:

ssh -R 12345:mypc:12345 server

This seem to work as long as mypc can be resolved by the server.
However, it does not work when mypc is NAT'd and unresolvable.
Shouldn't it work though? Considering I initiated the connection,
shouldn't the remote server be able/willing to send the data? X11
forwarding works in this case, and with a much simpler syntax:

ssh -Y server

Shouldn't something like this work in this case:

ssh -R 12345:localhost:12345 server
ssh -R 12345::12345 server
ssh -R 12345 server

Am I missing something?

Thanks
Chuck

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