THANKS BRAD!

OK, Cam, so if you follow Brad's suggestion, you will be able to browse an 
internal webserver.  However, if you want to browse the web in general, Brad is 
missing something.  You'll need a proxy server - like squid for your RH box (I 
run a windows proxy server on port 6588).  Let's say squid also runs on port 
6588 (it doesn't, but I don't know what port it runs on so let's just use this 
as an example).  Change his Brad's plink command to :

plink.exe -ssh you@a_RH_box -L 8888:internal_squid_server:6588

Now, in your Internet Explorer (or other browser), set it up to use a proxy 
server.  The proxy server address is "localhost" the port is 8888.  Once you do 
that, your browser will be tunnelled on port 8888 through SSH to your proxy 
server which will push your HTTP requests out onto the internet.

Should be straightforward now.

good luck.
mike.



Quoting Brad Fritz <[EMAIL PROTECTED]>:

> 
> Quoting Michael and Cam:
> 
> cam> I'm still wondering how to tunnel my http traffic thought ssh to
> cam> my internal web server.  I use Putty to connect to a RH box
> behind
> cam> LEAF from outside giving me a comand line interface.  Is the
> cam> tunneling done by somehow directing traffic through PuTTY ? 
> 
> mm> I'm not sure I know how to tell you any more than I already have.
> mm> Set up SSH Tunneling -- it is a session property.  I don't know if
> mm> putty has it -- can somebody else on the board please tell us if
> mm> putty has port forwarding?  
> 
> PuTTY does support port forwarding.  You can do it with just
> putty.exe and tweaking the Connection->SSH->Tunnels properties.
> Rather than explain how to work the GUI, here's how to do it
> with plink[1].  Run:
> 
>    plink.exe -ssh you@a_RH_box -L 8888:internal_web_server:80
> 
> and after you've logged in, point the browser on the machine you
> started plink on to:
> 
>   http://localhost:8888/
> 
> You should see the web server running on internal_web_server.
> internal_web_server and a_RH_box can be the same hostname if
> you are SSHing to the web server; the topology wasn't clear from
> your description.  Hope that helps.  If not, please reply with
> more specific details about what you're trying and how it is
> failing.
> 
> --Brad
> 
> [1] http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
> 
> 



Michael McClure
[EMAIL PROTECTED]

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to