Can't get to use ssh client/channel/server to port forwarding
Posted: Wed 21 Mar 2018 21:10
Hi I made both simple IP client and simple IP server just to test the hability to port forward of securebridge, and I was using this topic in the forum as a configuration guide:
viewtopic.php?f=27&t=12016&p=35668&hilit=channel#p35668
(dbexpres and SecureBridge) but I can not get my programs to work,
Can you help me please?
I will try to describe what I'm using:
***************************************************************
Simple_IP_Client (in 192.168.197.130)
----Config : Connect to ip: 192.168.197.1
------------ Connect to port:1000
CONNECT TO
Simple_IP_Server (in 192.168.197.1)
---Config: port:1000
***************************************************************
Connecting Simple_IP_Client to Simple_IP_Server does work as expected using previous configuration (not using securebridge at all)
But using:
***************************************************************
Simple_IP_Client (in 192.168.197.130)
----Config : Connect to ip: 192.168.197.130
------------ Connect to port:22
CONNECT TO
sshClient (in 192.168.197.130)
--- Config: HostName: 192.168.197.1
----------- port: 22
USING
sshChannel (in sshClient)
--- Config: DestHost: 192.168.197.1
----------- DestPort: 1000
----------- SourcePort: 22
----------- Direct:False
----------- Remote : already tryed True and False
CONNECT TO
sshServer (in 192.168.197.1)
--- Config: port:22
CONNECT TO
Simple_IP_Server (in 192.168.197.1)
---Config: port:1000
**************************************************
In previuos configuration:
-sshClient connect fine to sshServer
-sshChannel connect without any errors
- Simple_IP_Client fails with asynchronous socket error 10061, same error is generated when trying to connect directly to Simple_IP_Server using wrong port
What I'm missing? How should I configure ssh Client / Channel/Server?
By the way I'm using very simply IP client -server (just connect and nothing more) and very simple ssh client-server as instructed in "Step-by-step Tutorial" from the Securebridge pdf manual (using last trial version).
viewtopic.php?f=27&t=12016&p=35668&hilit=channel#p35668
(dbexpres and SecureBridge) but I can not get my programs to work,
Can you help me please?
I will try to describe what I'm using:
***************************************************************
Simple_IP_Client (in 192.168.197.130)
----Config : Connect to ip: 192.168.197.1
------------ Connect to port:1000
CONNECT TO
Simple_IP_Server (in 192.168.197.1)
---Config: port:1000
***************************************************************
Connecting Simple_IP_Client to Simple_IP_Server does work as expected using previous configuration (not using securebridge at all)
But using:
***************************************************************
Simple_IP_Client (in 192.168.197.130)
----Config : Connect to ip: 192.168.197.130
------------ Connect to port:22
CONNECT TO
sshClient (in 192.168.197.130)
--- Config: HostName: 192.168.197.1
----------- port: 22
USING
sshChannel (in sshClient)
--- Config: DestHost: 192.168.197.1
----------- DestPort: 1000
----------- SourcePort: 22
----------- Direct:False
----------- Remote : already tryed True and False
CONNECT TO
sshServer (in 192.168.197.1)
--- Config: port:22
CONNECT TO
Simple_IP_Server (in 192.168.197.1)
---Config: port:1000
**************************************************
In previuos configuration:
-sshClient connect fine to sshServer
-sshChannel connect without any errors
- Simple_IP_Client fails with asynchronous socket error 10061, same error is generated when trying to connect directly to Simple_IP_Server using wrong port
What I'm missing? How should I configure ssh Client / Channel/Server?
By the way I'm using very simply IP client -server (just connect and nothing more) and very simple ssh client-server as instructed in "Step-by-step Tutorial" from the Securebridge pdf manual (using last trial version).