Loopback (General questions)
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
Ben,
which port are you forwarding?
Re: Loopback
I'm trying to forward ports 8000 and 8080 to remote 3389 and 80.
Both of them have the same problem.
Re: Loopback
Ben
did you read this post? This looks very similar to your problem.
Re: Loopback
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
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
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