sshtunnel
sshtunnel copied to clipboard
Support for Dynamic Port Forwarding
It would be nice to have support for dynamic port forwarding, something similar with -D option from unix ssh
command.
ssh -f -N -D 127.0.0.1:1080 user@remote_server
If you run this command from your local system, all TCP traffic on 127.0.0.1 1080 it goes through remote_server. So basically 127.0.0.1:1080 it can be added as socks5 proxy in any other application.
I just tried a python library called Chilkat , it seems to support Dynamic Port Forwarding https://www.example-code.com/python/sshTunnel_dpf.asp
hello-
any progress on this? it seems a PR was submitted but failed some tests. i am willing to discuss a bounty for this in private if it would help.
Hello,
I think this would be a valuable addition as it is a very common use-case nowadays
Hello, I'm here to request the same feature.
me too
This is my primary use case for SSH Tunnels as well.
https:// github.com /paramiko/paramiko/blob/5cd4a085a11940436111b6b6f93aa369c9fb2a92/demos/demo_socks_proxy.py