Question link on AskAubuntu
The scenario is That a cloud Ubuntu server is running a Socks5 proxy server on a specified port; on this cloud server :
- Socks5 server serving on port 1515 (only local connections accepted)
- SSH is accepting connections from ports 22,33 and 44
What we want is to let any client use "Dynamic port forwarding" ability of SSH to connect to the Socks5 server running on the cloud server to be specific Client is going to use this command :
ssh -D 1080 -N -f user@cloudserver.host
So any application that uses Port 1080 on the client will have it's traffic routed through the SSH connection and then That remote Socks5 server, so the traffic path will be like :App running on client machine>Client Socks server on port 1080>SSH Tunnel>Socks5 server accepting local connectionsI hope I have explained clearly, Thnaks
Bookmarks