Client <-> Server <-> MySQL Server

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
teunis
Posts: 48
Joined: Wed 01 Feb 2006 14:15
Location: Curacao

Client <-> Server <-> MySQL Server

Post by teunis » Wed 20 Jun 2007 19:34

Is the following possible
There is a server (server1) with sshd running.
In a internal network, a MySQL server (server2) is connected with server1
The Server1 - Server2 connection doesn't need to be protected

Program on a client computer:
(Sc)SSHClient.HostName:= server1
MyConnection.Server:= server2
MyConnection.port:= 3306
MyConnection.IOHandler:= MySSHIOHandler
MySSHIOHandler.Client:= SSHClient.
So server1 is only used for login, crypting and decrypting
Would be nice. Thanks for your attention
:)

teunis
Posts: 48
Joined: Wed 01 Feb 2006 14:15
Location: Curacao

Post by teunis » Wed 27 Jun 2007 14:34

I am desperately waiting for a comment.
I thought one feature of SSH is to forward not only to a port but
also to an IP address.
In that way a computer on LAN I can via internet connect secure to
a computer on LAN II (Wrong / Right ?)
:cry:

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Client <-> Server <-> MySQL Server

Post by Dimon » Mon 02 Jul 2007 07:53

teunis wrote:Is the following possible
There is a server (server1) with sshd running.
In a internal network, a MySQL server (server2) is connected with server1
The Server1 - Server2 connection doesn't need to be protected

Program on a client computer:
(Sc)SSHClient.HostName:= server1
MyConnection.Server:= server2
MyConnection.port:= 3306
MyConnection.IOHandler:= MySSHIOHandler
MySSHIOHandler.Client:= SSHClient.
So server1 is only used for login, crypting and decrypting
Would be nice. Thanks for your attention
:)
Yes, it is possible. You specified the connecting parameters properly.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 02 Jul 2007 07:55

teunis wrote:I thought one feature of SSH is to forward not only to a port but
also to an IP address.
In that way a computer on LAN I can via internet connect secure to
a computer on LAN II (Wrong / Right ?)
If the SSH server is located on a computer on LAN 2, which you need to connect to, you should specify the IP address of this computer in the HostName property of ScSSHClient.

If the SSH server is located on the server in LAN 2, specify the server IP address in the ScSSHClient.HostName property, and the IP address or name of a computer on LAN 2, which you need to connect to, in the ScSSHChannel.DestHost property.

Post Reply