|
|||||||||||
|
RE: basic port forwarding help
From: Nick Blievers <nickb(at)bigpond.net.au>
Date: Wed Jun 04 2003 - 23:36:37 EDT
> I have ssh access to a remote Sun server from my Linux
> Subsequently, I found out that the application is java
> Still doesn't work. Before I begin digging into the
So, I'm not really clear on your terminology (eg is myhost local or remote?), but I will try and explain: Lets say we have our local host (called 'local', the one we are ssh'ing from), our remote host (ie the one we are ssh'ing to), and the target host (eg the one we wish to forward packets to), we would do this: ssh -l <user> -L 1204:<target>:1204 -R 7803:<local>:7803 <remote> This is assuming that you want packets forward from 1204 on your local system to 1204 on the target system (which might be the same as the remote system), and from the remote system at 7803 to your local system. Note that if the target and remote systems are different, you will need to get the target system to reply to the remote system. I hope that makes sense! Nick Received on Thu Jun 5 02:11:07 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:59 EDT |
||||||||||
|
|||||||||||