is nginx capable of such a proxy: user to nginx uses SSH; nginx to backend server uses TCP. So far, I have found a solution like the following, but it is said to only proxy SSH to SSH.
worker_processes 1;
events {
worker_connections 1024;
}
stream {
upstream ssh {
server 192.168.4.102:80;
}
server {
listen 80;
proxy_pass ssh;
proxy_connect_timeout 1h;
proxy_timeout 1h;
}
}