Tunneled IP Addresses?

tsreyb_at_yahoo.com
Date: 11/25/05


Date: 25 Nov 2005 04:58:25 -0800

I use ssh tunnels (via putty) to successfully browse my remote web
servers. First I connect via ssh. Then I configure an ssh tunnel by
specifying that all requests to a particular remote host be sent to
'127.0.0.1' - the ssh application then takes over any HTTP requests to
that address and forwards them out the tunnel. I had to add
'remotehost' to my w2k hosts table, identifying it on the line for
127.0.0.1.

Works fine when I browse to the remote host via its hostname.

However, some of the pages on the remote server refer to additional
pages (on the same server), but specify its IP Address rather than
hostname. My PC attempts to load these private addresses directly,
rather than sending them through the tunnel. This fails because the PC
uses its default route to go to that IP rather than via the tunnel,
hence I fail to get these pages loaded.

I was hoping I could simply add a route to the private network via
127.0.0.1. For example:

   route add 10.1.0.0 mask 255.255.0.0 127.0.0.1 metric 1

However W2K complains "The route addition failed: The parameter is
incorrect."

Is there any way to create this type of route?



Relevant Pages

  • Re: reverse shell session
    ... I want to open a session on a client that connects to my server and makes ... a tunnel. ... You may ask why i want to do that, well the remote machine is behind a ... You could run an ssh server on the machine that's behind the FW on some ...
    (comp.security.ssh)
  • Two sites connected via hardware IPSec VPN Tunnel
    ... users cannot log into the network (the domain controllers are on the far ... server on the far side. ... I can remote desktop into the server on the remote end, ... tunnel and internet traffic goes directly fmro their router andnot over the ...
    (microsoft.public.windows.server.networking)
  • Re: VNC Through WinSSHD
    ... > remote to server machine. ... Login isn't necessarily a tunnel. ... Creating a tunnel requires an sshd service on the remote machine as ... Assume your vnc server is running display 0 and you use the vnc viewer ...
    (comp.security.ssh)
  • Re: Remote Client VPN access.
    ... I'm familiar with Remote VPN access when the client initiates ... the tunnel using dial up Networking, ... From one of the remote clients I can browse the server using "run ...
    (microsoft.public.windows.server.sbs)
  • Trying to add a route via 127.0.0.1 for tunnels
    ... I use ssh tunnels to successfully browse my remote web servers. ... requests to a particular remote host be sent to '127.0.0.1' - the ssh ... some of the pages on the remote server refer to additional ...
    (microsoft.public.win2000.networking)