Re: port forwarding
From: Payal (payalrathod_at_gmail.com)
Date: 06/20/05
- Previous message: Payal: "running remote commands"
- In reply to: Darren Dunham: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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. >
- Previous message: Payal: "running remote commands"
- In reply to: Darren Dunham: "Re: port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|