Loopback - WeOnlyDo Discussion board

Loopback (General questions)

by Ben Dunham, Thursday, December 01, 2005, 14:43 (6931 days ago)

I'm trying to use WODSSHTunnel to create a tunnel from 127.0.0.2. The same connection using 127.0.0.1 as the local tunnel endpoint works perfectly, but as soon as I change it to 127.0.0.2 it stops working. The connection is established successfully and it actually allows me to open a connection using Telnet but it closes the connection as soon as I attempt to send any data.

Any ideas? Its pretty urgent!

Thanks

(Platform: WinXP SP2 (with loopback hotfix applied), C#)

Re: Loopback

by wodSupport, Thursday, December 01, 2005, 14:46 (6931 days ago) @ Ben Dunham

Ben,

which port are you forwarding?

Re: Loopback

by Ben Dunham, Thursday, December 01, 2005, 14:55 (6931 days ago) @ wodSupport

I'm trying to forward ports 8000 and 8080 to remote 3389 and 80.
Both of them have the same problem.

Re: Loopback

by wodSupport, Thursday, December 01, 2005, 15:47 (6931 days ago) @ Ben Dunham

Ben

did you read this post? This looks very similar to your problem.

Re: Loopback

by Ben Dunham, Thursday, December 01, 2005, 15:52 (6931 days ago) @ wodSupport

I dont think is a related issue. I have applied the SP2 hotfix which re-enables loopback on 127.0.0.2 and I have also tested this application on Windows 2000 and have had exactly the same problem.

Any other ideas?

Thanks for the prompt responses by the way!

Re: Loopback

by wodSupport, Friday, December 02, 2005, 02:06 (6931 days ago) @ Ben Dunham

Ben,

I really don't know what could be the reason. I just tried it - I took our Sample VB app and add line like this:

SSH_1.Channels.Add LocalListen, 127.0.0.2 , 81, 127.0.0.1 , 80

after that I connected to http://127.0.0.2:81 and I got webpage from remote SSH server just fine.

This is probably something with your XP installation. Possible?

Re: Loopback

by Ben Dunham, Friday, December 02, 2005, 17:17 (6930 days ago) @ wodSupport

Arrgh. Sorry for wasting your time. I've realised that i've been underestimating the importance of the following (which I had omitted).

[code]
private void axwodTunnel_UserConnecting(object sender, AxwodSSHTunnelLib._IwodTunnelEvents_UserConnectingEvent e)
{
e.allow = true;
}
[/code]

Presumably the component was simply internally refusing to send packets thru the tunnel.

Thanks for your help, it was the looking at the VB sample (and then looking at it again) which did the trick!

Ben