Re: SSH options re: NAT
From: Greyson M Fischer (Greyson_at_cleveland.feddata.com)
Date: 07/23/03
- Next message: Richard E. Silverman: "Re: SSH options re: NAT"
- Previous message: Adam Thomas: "--no-dereference flag for scp?"
- In reply to: Luke: "Re: SSH options re: NAT"
- Next in thread: Richard E. Silverman: "Re: SSH options re: NAT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 23 Jul 2003 18:15:37 GMT
Luke <run_faster@hotmail.com> wrote:
> Richard E. Silverman <res@qoxp.net> wrote in message news:<m2u19damom.fsf@darwin.oankali.net>...
>> >>>>> "LS" == Luke StClair <luke@stclair.homelinux.net> writes:
>>
>> LS> Thanks, that was the issue... so if i do anything on the machine
>> LS> with the real IP referring to localhost port 10022, it no longer
>> LS> refers to the remote machine's localhost, but my home computer's
>> LS> localhost?
>>
>> I'm sorry, I can't parse this -- can you ask a question about a concrete
>> example?
>>
>
> My fault... i was too excited that it worked.
>
> My home machine is NAT'ed to a 10.x.x.x IP.
> My work machine is a public IP.
>
> On my home machine:
> ssh -fNR 10022:myhomemachine.com:22 myname@myWorkMachine
>
> Now, when I ssh -p 10022 localhost form myWorkMachine, this works
> because I make a connection from myWorkMachine to myWorkMachine on
> port 10022, which goes to port 22, which is connected to my home
> machine via the ssh -fNR command I did before? So with ssh you can
> change how the ports are "interpreted" (i know that's not the
> technical word) on a remote machine?
Correct. (Sorry, got a bit confused along the way, since I go from work
to home instead of home to work)
Although, just as a matter of principle -- use telnet unless you need
more forwarded ports... it's more lightweight, and since everything is
traveling over a secure pipe anyway, there's no need to add an extra
layer which would just cause the connection to be slower.
-- Greyson
- Next message: Richard E. Silverman: "Re: SSH options re: NAT"
- Previous message: Adam Thomas: "--no-dereference flag for scp?"
- In reply to: Luke: "Re: SSH options re: NAT"
- Next in thread: Richard E. Silverman: "Re: SSH options re: NAT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|