Hi,
I want to connect several client/server programs (3 actually) between two computers using only one secure shell tunnel.
Something like this:
Computer 1 Computer 2
program 1 client ----------> program 1 server port 100
program 2 client ----------> program 2 server port 200
program 3 client ----------> program 3 server port 300
the idea is to have a tunel between computer 1 and 2 with multiple port forwarding like:
if local port is 101 then forward to computer 2, port 100
if local port is 201 then forward to computer 2, port 200
if local port is 301 then forward to computer 2, port 300
When using the client /server ssh programs demos, make ONE forwarded connection is not a problem, but it always close the first forwarded conecction if I try to add a second DIFFERENT port forwarding (actually the code close the connection as soon as I edit the source port of port forwarding).
The three client/server programs has very low traffic, only working in (rare) user demand, so hight traffic over the tunnel is not a concern
Thanks in advance,
Juan Carlos
Is posible to make multiple port forwarding over one ssh tunnel?
Re: Is posible to make multiple port forwarding over one ssh tunnel?
I found the solution...
Add two more ScSSHChannel's components and configure the three independently...
Add two more ScSSHChannel's components and configure the three independently...
Re: Is posible to make multiple port forwarding over one ssh tunnel?
It is good to see that the problem has been solved. Feel free to contact us if you have any further questions.