Hello, On Fri, 30 Oct 2009, Girish Venkatachalam wrote: > LOCAL port forwarding: > > $ ssh -L 1234:127.0.0.1:4321 61.1.1.2 > ^^^^^^^^^^^^^^^ > <local portion> > will forward the local port 1234 to 6.1.1.2 4321.
This is "almost" true. The correct statement is that this will forward connections made on the local machine at port 1234 to the remote machine at the address 127.0.0.1:4321 _on_ the remote machine. Usually, network daemons listen on *:4321 (where * takes all possible local interface addresses) so this should work exactly as if the connection was made to 6.1.1.2:4321. Sometimes ... you may get a surprising result :-) So if you really wanted 61.1.1.2:4321 then that is what you should use. $ ssh -L 1234:6.1.1.2:4321 61.1.1.2 Regards, Kapil. -- _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
