Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy through socks5 #46

Closed
r-matias opened this issue Jul 21, 2016 · 3 comments
Closed

Proxy through socks5 #46

r-matias opened this issue Jul 21, 2016 · 3 comments
Labels

Comments

@r-matias
Copy link

Hello,

After connection with SSH.NET, i can pass all packages from any .exe (ex: chrome.exe, csgo.exe etc) through proxy socks5? Or any have a idea how make this? (Something equal Proxifier)

Sorry for bad english.

Thanks a lot.

@drieseng
Copy link
Member

Something like this ought to do it:

            using (var client = new SshClient("myserver", 22, "user", "pwd"))
            {
                client.Connect();

                var forwardedPort = new ForwardedPortDynamic(1080);
                client.AddForwardedPort(forwardedPort);
                forwardedPort.Start();
            }

@drieseng
Copy link
Member

@soarde: Did that work out for you? Let me know if I can close this issue.

@drieseng
Copy link
Member

Closing due to lack of feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants