On Dec 13, 10:35 pm, 马涛 <[email protected]> wrote: > thanks, and how to enable dynamic forward port like "ssh -D1080", can you > give a demo ?
Dynamic port forwarding is not something that is supported by this module. Basically what that requires is writing a SOCKS proxy implementation -- something that's really outside the scope of this project. Once you write that (there may be some SOCKS modules worth looking at on npm), you can easily hook it up to this module and initiate the outbound connections using forwardOut() and then piping the data. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
