About a tunnel of Socks5 proxy server - Rebex Q&A Forum (C#, VB.NET) most recent 30 from http://forum.rebex.net2010-09-08T14:30:13Zhttp://forum.rebex.net/feeds/question/77http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://forum.rebex.net/questions/77/about-a-tunnel-of-socks5-proxy-serverAbout a tunnel of Socks5 proxy servershadow2010-02-26T03:16:40Z2010-08-27T20:24:04Z
<p>I would like to set up a tunnel to a socks5 proxy server, which is similar to the following command.</p>
<p>ssh -N -D 8888 root@remote.server</p>
<p>I already has a socks5 server run at remote.server:22(example). I need to get other web page by C# through that proxy server. How can I do this by Rebex?</p>
<p>It seems like the function of Rebex.Net.ProxySocket class, does it has sample code?
And my socks5 server only support public key authentication method, but ProxySocket seems not.</p>
http://forum.rebex.net/questions/77/about-a-tunnel-of-socks5-proxy-server/79#79Answer by Lukas Pokorny for About a tunnel of Socks5 proxy serverLukas Pokorny2010-02-26T15:11:28Z2010-02-26T15:11:28Z<p>Rebex <code>SshSession</code> class can be used to tunnel connections through an SSH server, but Rebex ProxySocket component only supports Socks5 in client mode. It doesn't have the capability to act as a Socks5 server, which is what you need to reproduce "ssh -N -D"</p>
<p>Please check out the comments section of <a href="http://forum.rebex.net/questions/25/ssh-port-forwarding-capabilitie-application" rel="nofollow">SSH port forwarding capable application</a> question for additional information on what you would have to implement yourself.</p>
<p>Why don't you use a ready-made application such as <a href="http://www.bitvise.com/tunnelier" rel="nofollow">Bitvise Tunnelier</a> to achieve this?</p>