EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multi-Port Forwarding

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 02/21/2013 13:05:19
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

Can SecureBlackBox handle multi forwarding port over one SSH Connection.
Posted: 02/21/2013 13:13:53
by Ken Ivanov (Team)

Yes, it can.
Posted: 02/21/2013 13:20:26
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

how can I create one connection and forward multiple port threw it.
Posted: 02/21/2013 13:28:00
by Ken Ivanov (Team)

Use AddTunnel() method and Tunnels[] property of a simple forwarding class (either TElSSHLocalPortForwarding or TElSSHRemotePortForwarding, depending on the type of forwarding you wish to set up) to configure what ports should be forwarded and where. Then call Open() to make the component connect to SSH server and arrange tunneling.

I suggest that you have a look at our simple forwarding samples included to the product distribution.
Posted: 02/21/2013 13:39:38
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

How Come the demo does show that you need
Posted: 02/21/2013 13:47:50
by Ken Ivanov (Team)

I guess the Visual Studio IDE just can't find the referenced assemblies (it happens sometimes). Please try to add them manually. By default, the assemblies are installed to %PROGRAMFILES%\EldoS\SecureBlackbox.NET\Assemblies\%PLATFORM%\.
Posted: 02/21/2013 13:50:29
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I am using the NET2.0 Libraries the warning that I get is:

"SecureBlackBox.dll", or one of its dependencies, require a later version of the .NET Framework than the one specified in the project.
You can change the .Net Framework target by clicking Properties on the Project menu and then selecting a new target in the '.NET Framework' dropdown box. (In Visual Basic, This is located on the compile tab by clicking the "Advanced Compiler Options....."button)
Do You Still want to add a reference to "SecureBlackbox.dll" in your project

I have received the same warning for SecureBlackBox.SSHClient.dll and SecureBlackBox.SSHCommon.dll
Posted: 02/21/2013 13:54:19
by Ken Ivanov (Team)

1) What version of Visual Studio .NET are you using?

2) Please ensure that you are picking assemblies from the correct directory. There are as many as a dozen assembly sets targeting different platforms so please be careful to select assemblies from the right set.
Posted: 02/21/2013 13:54:29
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

From the way it look you are creating a new SSH connection for each forwarded port.

I need ONE SSH Connection with more then one port forwarded threw that same connection.
Posted: 02/21/2013 14:02:28
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I am using VS 2010 SP1
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.



Topic viewed 15120 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!