Re: port forwarding

From: Payal (payalrathod_at_gmail.com)
Date: 06/20/05

  • Next message: Paul Hink: "Re: running remote commands"
    Date: 20 Jun 2005 10:55:34 -0700
    
    

    Hi,
    Thanks for the mails Richard and Darren. The confusion is bit over,
    though I have to try more examples to be sure.
    Thanks a lot again.
    With warm regards,
    -Payal

    Darren Dunham wrote:
    > Payal <payalrathod@gmail.com> wrote:
    > >> Payal> ssh -L 1100:scriptkitchen.com:110 example.net
    >
    > > So a tunnel is created from "scriptkitchen.com:1100" to example.net:110
    > > But where is "localhost" mentioned? How does the traffic go from my
    > > machine to scriptkitchen? Is that encrypted? And from which port? I
    > > don't follow this at all.
    >
    > A "tunnel" is always from your local machine to the ssh host
    > (example.net). All traffic is on port 22, encrypted.
    >
    > Then, imagine you are on example.net and you connect to
    > scriptkitchen.com:110. That traffic is necessarily unencrypted.
    > Instead of being delivered to an application on example.com, the traffic
    > is sent into the tunnel back to your local workstation and then bound to
    > your port of choice (1100).
    >
    > The host portion of the address (scriptkitchen.com) is always from the
    > point of view of the ssh server (example.net here). So if you use
    > port:localhost:hostport, then 'localhost' means the example.net server.
    >
    > --
    > Darren Dunham ddunham@taos.com
    > Senior Technical Consultant TAOS http://www.taos.com/
    > Got some Dr Pepper? San Francisco, CA bay area
    > < This line left intentionally blank to confuse you. >


  • Next message: Paul Hink: "Re: running remote commands"

    Relevant Pages

    • Re: Unable to open /dev/cua/a: Device busy
      ... > Darren Dunham wrote: ... >> port A... ... Where do boot messages go? ... Do you have a keyboard plugged in and watch ...
      (comp.unix.solaris)
    • Re: Using XDMCP on Solarix express 9/06?
      ... Darren Dunham writes in comp.unix.solaris: ... any UDP port.) ... Working for, but definitely not speaking for, Sun Microsystems, Inc. ...
      (comp.unix.solaris)
    • Re: Using privilied ports <1024 with Java
      ... Darren Dunham probably said: ... >I still know of no method to make a port below 1024 bindable by a ... >non-root process. ... to make 80 non-priv, you have to do: ...
      (comp.unix.solaris)