Thread: SSH tunneling
View Single Post
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2008-05-28, 11:09

Quote:
Originally Posted by Banana View Post
Wait, so it's actually

Code:
localport:IP4:remoteport
, not the other way around?
Yes. From the manpage:

Code:
-L [bind_address:]port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.
Where "host" is the machine running the SSH server, i.e. the one you're connecting to.
  quote