Hi,
I'm just talking from what I remember of how sshuttle works. Others here
might correct me if I'm wrong:
On 2018-08-11 08:02 AM,
jolle...@gmail.com wrote:
> I can successfully run sshuttle to connect from my client to my remote
> server. From time to time, I'd like to ssh from the remote server back to
> my client machine. Is this possible over sshuttle?
I think it is not. Basically you're using the proxy host (and its IP) to
reach the network behind it. The proxy only knows to send packets back
to the python process because it is the one that opened up those
connections. In effect your client is not really present on the remote
network because it does not have an address of its own over there.
> Before I started using
> sshuttle, I would open up a reverse ssh tunnel which would open port 2222
> on the remote end. When I wanted to get back into my client machine I could
> run "ssh -p 2222 localhost" and I would be on the client machine. Is there
> a natural way to do that with sshuttle, or should I continue to also open
> up the reverse ssh over port 2222?
I believe this is the only way.
Cheers