Quick ssh socks5 tunnel (aka Dynamic tunnel)
LOCAL_LISTENING_PORT=12345 REMOTE_USER="zipizap" REMOTE_SERVER="my.server.com" ssh -N -D $SOCKS_LISTENING_PORT $REMOTE_USER@$REMOTE_SERVER sleep 60
This will create a persistent SOCKS5 tunnel, on port 12345 of your local-system.
The tunnel will dynamically forward the connections, to “my.server.com” as user “zipizap”, and from there it launch the connections to its final destination.
Cheers