C still has to have a reverse tunnel to B, but on A all you have to do is create a local port forward. So, on A:
ssh -L $local_listen_port:localhost:$remote_listen_port $user@$B
now just:
ssh -D localhost:$local_socks_port $user@localhost -p$local_listen_port
No comments:
Post a Comment