Would be nice if JSch also supports forwarding sockets, not only ports.
Currently you can only forward from port to port in JSch, but SSH now can do from port to socket, from socket to port, from port to port and from port to socket.
local port => remote socket
local socket => remote socket
local socket => remote port
remote port => local socket
remote socket => local socket
remote socket => local port
From a quick look it seems you are only providing a small subset.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I extended jsch ith your requested feature. Please checkout https://github.com/mwiede/jsch
Nice @matez, does this fully support it though?
local port => remote socket
local socket => remote socket
local socket => remote port
remote port => local socket
remote socket => local socket
remote socket => local port
From a quick look it seems you are only providing a small subset.