Re: Tunneled IP Addresses?
From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 11/25/05
- Next message: John Eley: "SSH no local connection"
- Previous message: tsreyb_at_yahoo.com: "Tunneled IP Addresses?"
- In reply to: tsreyb_at_yahoo.com: "Tunneled IP Addresses?"
- Next in thread: Richard E. Silverman: "Re: Tunneled IP Addresses?"
- Reply: Richard E. Silverman: "Re: Tunneled IP Addresses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Nov 2005 14:34:42 +0000 (GMT)
tsreyb@yahoo.com writes:
>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.
To avoid confusion, I wouldn't put it like that. Rather than SSH "taking
over" 127.0.0.1 at the IP level, it just starts listening on 127.0.0.1
port 80; it's more like you've started a web server on your local
computer, which you then trick your web browser into believing is a
particular remote host by fiddling your hosts table.
>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. [...]
>
>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
Rather than trying to persuade your IP stack to do this, I'd do it at a
higher level -- set up PuTTY to use a "dynamic tunnel", which starts up
a SOCKS proxy listening on the local machine, and then configure the web
browser to use that SOCKS proxy. Requests for _any_ hostname or IP
address made by the web browser will then go over the tunnel.
- Next message: John Eley: "SSH no local connection"
- Previous message: tsreyb_at_yahoo.com: "Tunneled IP Addresses?"
- In reply to: tsreyb_at_yahoo.com: "Tunneled IP Addresses?"
- Next in thread: Richard E. Silverman: "Re: Tunneled IP Addresses?"
- Reply: Richard E. Silverman: "Re: Tunneled IP Addresses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|