--On Monday, May 27, 2002 10:00 AM -0400 [EMAIL PROTECTED] wrote:

> I'm still wondering how to tunnel my http traffic thought ssh to my
> internal web server.  I use Putty to connect to a RH box behind LEAF from
> outside giving me a comand line interface.  Is the tunneling done by
> somehow directing traffic through PuTTY ?

The concept is like this:

box1 ------------> box2 .......> network2
(SSH)              (SSH)

The tunnel then makes a port on box1 (Web/HTTP port for example) act as if 
it was another host located on network2 (or reachable therefrom).  For 
example:

box1 -------------> box2 --------> box3
(SSH)               (SSH)
(HTTP) ############### ----------> (HTTP)

Note that if you are tunnelling this way, then data from box2 to box3 is 
NOT encrypted.  Also note that you then would (on box1) use this url:

http://127.0.0.1/
--or--
http://box1/

...instead of this one...

http://box3/

Note also, that the SSH session used to create the tunnel may have a shell 
or may not.  I know Teraterm/SSH allows you to port forward, and only does 
it with a shell.

OpenSSH and other UNIX variants allow you to run ssh in the "background" 
with port forwarding and no SSH shell.

One other thing to be aware of - what you want is almost certainly called 
"local port forwarding" and not "remote port forwarding."   Just to be 
aware.

I thought there was a portforwarder for PuTTY at the DOS command line.... 
Me, I use (when I use Telnet/SSH under Windows, that is) Teraterm/SSH.  It 
gives you top-notch telnet, ssh, AND port-forwarding.


_______________________________________________________________

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