I want to connect to an OpenVPN server through an SSH tunnel.
Until now I open the tunnel manually with the following command :
How can I do that ?
Until now I open the tunnel manually with the following command :
ssh -NfD 1080 username@remote.comI want to do the exact same command but with SSH.net library in a C# application, and then use the SSH connection as a SOCKS proxy in OpenVPN client.
How can I do that ?