Re: Tunneling Example - WeOnlyDo Discussion board

Re: Tunneling Example (General questions)

by wodSupport, Wednesday, January 19, 2005, 23:26 (7246 days ago) @ Kevin

Kevin,

wodSSHTunnel does all of this for you internally. No plans for NET version yet.. This is short answer..

Now the long one.

Unlike wodSSHTunnel, wodSSH.NET doesn't do port forwarding internally. You can do port forwarding by setting ForwardHost and ForwardPort properties - in which case wodSSH.NET will request port forwarding from the server, and send your bytes to that port instead to remote console. And vice versa - when something comes from that port (instead of coming from the console), Received event is fired.

wodSSH.NET will NOT LISTEN for incoming connection on your local computer. You have to do this by yourself. You have to listen and accept connections. Then, whatever comes through that socket, send to wodSSH.NET through it's Send method. And vice versa - all that comes from wodSSH.NET through Received event, send to your socket. Your app must be involved here.

Hope I didn't dissapoint you, but wanted to say that wodSSH.NET can do it, even it's not its primary purpose.

Hope it helps.

Best regards,
Kreso


Complete thread: