Help needed with port forwarding

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

Help needed with port forwarding

Post by zd » Sun 19 Sep 2010 13:06

Hi!

I'm using Securebridge and IBDAC to connect to a Firebird 2.1 server.

Here is my setup:

I have two computers within the same wireless network.

Computer 1:
IP 192.168.1.104
SecureBridge SSH server component running on port 22
Firebird server running on port 3050

Computer 2:
SecureBridge SSH client connecting to SSH server on port 22
SecureBridge Port forwarding active with the following settings:
DestHost: 192.168.1.104
DestPort: 3050
SourcePort: 3050
and default settings.

Now when I try to connect to the database on 192.168.1.104 with IBDAC from Computer 2, I get the following error:
"Unable to complete network request to host: "192.168.1.104". Failed to estabilish a connection."

The SSH connection is created without problems, the tunneling is running and if I ping Computer1 from Computer2 everything is OK.

Computer1 has it's default Windows Firewall turned on, which is blocking port 3050, but I assume this should not be a problem, as data is coming in on port 22, right?

Thanks for your help!

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

Post by Dimon » Wed 22 Sep 2010 09:00

To solve the problem, you should set the TIBCConnection.Server property to 'localhost', to connect to the database via SSH tunnel.

zd
Posts: 78
Joined: Sun 01 Jul 2007 13:16

Post by zd » Sat 30 Oct 2010 20:21

Thank you, this has solved the problem!

Post Reply