Re: sftp ls stalls with certain IP configurations

From: Richard E. Silverman (slade@shore.net)
Date: 02/21/03

  • Next message: Shing-Fat Fred Ma: "Re: Easier alternative to scp?"
    From: slade@shore.net (Richard E. Silverman)
    Date: 20 Feb 2003 23:29:38 -0500
    
    

    > Sftp username@(earthlink assigned internal dynamic ip)
    > Type password, type "ls", all still works fine.
    >
    > sftp username@(my dynamic ip as seen from the outside world) (from outside
    > Earthlink, usually from campus -- this external ip is NOT the same as the
    > internal earthlink assigned ip)

    If the address assigned to your machine (by DHCP, PPP, or whatever) is not
    the same as what appears as the source address for connections initiated
    from that machine to elsewhere, then there is a NAT gateway between you
    and the outside world. Some ISP's do this as a matter of course. It's
    evil, because NAT is evil: you are not getting full IP connectivity to the
    Internet for your money. You will not be able to make any connections to
    your machine from elsewhere; you have (limited) outbound connectivity
    only.

    Using the "external dynamic IP" (as you're calling it) on your machine is
    meaningless; that address (if it's even always the same, which is
    unlikely) only corresponds to your machine on the other side of the NAT
    gateway, and only in the context of existing nat'ed network flows (TCP
    connections, UDP query/response pairs, etc.).

    -- 
      Richard Silverman
      slade@shore.net
    


    Relevant Pages

    • Re: sftp ls stalls with certain IP configurations
      ... >>sftp username@(from outside ... because NAT is evil: you are not getting full IP connectivity to the ... > Internet for your money. ... You will not be able to make any connections to ...
      (comp.security.ssh)
    • Re: sftp ls stalls with certain IP configurations
      ... But this doesn't explain why I CAN connect to my machine via ssh and sftp ... because NAT is evil: you are not getting full IP connectivity to the ... > Internet for your money. ... You will not be able to make any connections to ...
      (comp.security.ssh)
    • RE: Remote access problem
      ... CEICW setting RWW is OK. ... I clicked "Connect to server desktops" and got the screen with all the ... Remote connections ... > Internet Connection wizard' to configure the server networking settings? ...
      (microsoft.public.windows.server.sbs)
    • Re: Evil monopolists and the future of the internet
      ... "The End of the Internet?" ... "The nation's largest telephone and cable companies are ... excess bandwidth after hours (I don't know if such is still ... multiple connections to a website based somewhere in Rio ...
      (sci.econ)
    • RE: IE Behavior
      ... I can start browsing the internet after about 20 minutes upon bootup... ... For the rest, I can open ssh connections in the meanwhile, I can even using ... I have XP sp2 and the latest patches. ... can then open CMD and ping web sites. ...
      (microsoft.public.windowsxp.general)