About proxy (wodSSHTunnel)
Hi;
I want to use your component like this
USER->SSHTUNNEL->SERVER->SSHTUNNEL->wodSSHTunnel PROXY
because 2 users behind router.But your component proxy function only works in local.
How can i do this ?
Regards,
Hi;
I want to use your component like this
USER->SSHTUNNEL->SERVER->SSHTUNNEL->wodSSHTunnel PROXY
because 2 users behind router.But your component proxy function only works in local.
How can i do this ?
Regards,
by Jasmine, (4436 days ago) @ krcan
Hi.
I'm not sure I understand. I see how wodSSHTunnel fits here, but how to fit remote one after the server?
Anyway, you can use local port forwarding on first SSHTunnel to predefined port. You can also perhaps use local port forwarding on second SSHTUnnel. And then on the PC of second wodSSHTUnnel install some 3rd party proxy of your choice? WOuld that work?
Kreso
by Korcan
, (4436 days ago) @ Jasmine
edited by Jasmine,
Hi Kreso,
Thanks for answer. But what i want is exactly reverse tunneling.
Here is an example :
Computer A ---> SSH SERVER <------- Computer B
A Connects to proxy server and connects to ssh server for tunneling (Reverse ssh tunneling)
B connects to ssh server for tunneling and listens for incoming connections.
I have to do this because 2 computers are behind routers.
Sorry for my bad english.
by Korcan
, (4436 days ago) @ Korcan
http://www.weonlydo.com/code.asp?did=Remote-port-forwarding
Your this example suits for me. But not working. Can you check this ?
Regards,
by Jasmine, (4436 days ago) @ Korcan
Hi. I am not sure if this is what you need, but I created small VB sample that on same PC demonstrates how to do it.
1st instance opens local port forwarding from port 8080 to server's 127.0.0.1:8080 (nothing yet there....) and connects
2nd instance opens remote port forwarding that listens on server's 127.0.0.1:8080 and redirects it to www.google.com port 80
So, when you open 127.0.0.1:8080 on first PC, request is forwarded on server's 127.0.0.1:8080, where 2nd instance is listening, which is forwarded to 2nd instance, which is forwarded to www.google.com
Can you try if this code works for you? Make sure in UserConnecting event to set Allow = true to allow the connection from 2nd instance.
[code]Option Explicit
Dim WithEvents tunnel1 As wodTunnelCom
Dim WithEvents tunnel2 As wodTunnelCom
Private Sub Form_Load()
Set tunnel2 = New wodTunnelCom
tunnel2.Hostname = "your.host.com"
tunnel2.Login = "xxx"
tunnel2.Password = "xxx"
tunnel2.Channels.Add(RemoteListen, "www.google.com", 80, "127.0.0.1", 8080).AutoStart = True
tunnel2.Connect
Set tunnel1 = New wodTunnelCom
tunnel1.Hostname = "your.host.com"
tunnel1.Login = "xxx"
tunnel1.Password = "xxx"
tunnel1.Channels.Add(LocalListen, "127.0.0.1", 8080, "127.0.0.1", 8080).AutoStart = True
tunnel1.Connect
End Sub
Private Sub tunnel2_UserConnecting(ByVal Chan As wodSSHTunnelCOMLib.IChannel, ByVal Hostname As String, ByVal Port As Long, Allow As Boolean)
Allow = True
End Sub
[/code]

We are having great success with your component ... email server that has over 750 000 mailboxes back ended by a SQL server...

The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.

...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...

The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo

The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.

You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

It is very refreshing to find such helpful, knowledgeable and quick responding technical support.

...with WOD's excellent support I was able to bypass Winsock and focus on the task at hand...

...wodFtpDlx was exactly what I needed, it worked, and it was priced right...

