| WeOnlyDo! COM SSH Tunnel ActiveX Control Introduction |
| ® WeOnlyDo! COM (2002-2010) |
|
General information The wodSSHTunnel component is a server component that will add secure
tunneling capabilities to your applications and is based on the SSH protocol.
According to your rules and definitions, it will accept local connections,
encrypt and forward data to the SSH server where it will then be decrypted and
sent to the destination host. An SSH server is required for this component to
work - encryption will take place between the local computer (running
wodSSHTunnel) and the SSH server of your choice.
you would connect to your SSH server using an encrypted connection and the SSH server would connect to the services that you require. Usually, these services will reside on the same machine as the SSH server or will be inside a protected network.
Not only will it secure your connections, it will also allow you
to create a VPN to your services. You set up any number of Channels - these are objects that will keep
information about a specific port forwarding request. For example, you can
use wodSSHTunnel to create a Channel that will listen on local port 80 and forward all
requests to the SSH server on its port 80. After you start that channel, you
can connect to http://localhost using your web browser and you
will see the web page served up by the web server that is running on the same computer as the SSH server. Neat, isn't it? If you are looking for a tunneling component, you probably already have an
idea where you would use it. But if you don't have any idea, here is a suggestion: you can encrypt your email transfers with a wodSSHTunnel. You do this by setting up a channel to listen on port 110 (for the POP3 protocol) and point it to
the server on port 110. Once this is in place, you can use your email client
to connect to localhost on port 110 and all of your email transfers will be
encrypted. This is a great tool when you are reading your email from
public computers or Internet cafes. wodSSHTunnel comes as 3 standalone components - each of them is
exactly the same as the others but implemented in a different technology.
You can decide for yourself which one to use: the in-process COM object (ActiveX DLL) which has the
fastest interface, the ActiveX control (OCX) that supports drag & drop functionality
in some containers (such as VB) or the ActiveX EXE which is an out-of-process COM
object. The out-of-process COM object (ActiveX EXE) should be used when your program blocks the main
thread when wodSSHTunnel is running. Because it lives in a separate
address space, your application will be able to tunnel its own
connections without being blocked by other activity in your process. wodSSHTunnel comes in two flavors: The first is as a COM object (in-process ActiveX DLL or out-of-process ActiveX EXE) which in VB you
declare with "Dim WithEvents Tunnel1 as wodTunnel". You can
initialize and destroy the COM objects on the fly and use as many
instances of them as you want. The second flavour is the ActiveX control (OCX), which you can
drag & drop onto your forms from the component toolbox. You can also set
up basic properties and even define channels for the ActiveX control using its property
pages. |