I use direct tcp connection to communicate with application on remote
machine.
Is there a way to make port forwarding of the third computer in the local
network that avaliable from the gateway  server.

Local<---Gateway<---Remote

I found the example how to make this with terminal

ssh -L 192.168.0.2:8080:127.1:9999 user@8.8.8.8 ssh -L 127.1:9999:127.1:80
user2@10.1.1.2

Can I do something similar with libssh2?

PS: Should I make two sequentially direct connection, first make port
forwarding from gateway, and after using forwarded port make new forwarding
from remote machine?

Thanks!

-- 
Best Regards!
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to