Re: Port forwarding and ssh

From: eric tanguy (eric.tanguy_at_physique.univ-nantes.fr)
Date: 10/19/04

  • Next message: Volker Kindermann: "Re: Enabling VNC"
    Date: Tue, 19 Oct 2004 08:39:52 +0200 (CEST)
    To: <fedora-list@redhat.com>
    
    

    >>
    >> Sorry for the problem but i solved it : in fact all
    >> was well configured
    >> the only problem was from my NAT router which does
    >> not accept port
    >> forwarding and nat access from an inside machine
    >> through the outside. I
    >> try this morning to ssh from my work to my home
    >> without any problem. The
    >> only problem i still have is : when i'm connected
    >> from work to my front
    >> machine by ssh and port forwarding and i try to ssh
    >> to another machine
    >> inside my private network i obtain, after the
    >> password, permission denied
    >> but i have to test also at home directly from the
    >> front machine to another
    >> one inside my network.
    >> Eric
    > It will be highly appreciated if you have a chance to
    > publish what you did about setup ssh for your home
    > machine. I am the guy who is still fighting for
    > that... :-(
    > Thanks.
    >
    > Best,
    > Cao
    >
    >>
    >> --
    >> fedora-list mailing list
    >> fedora-list@redhat.com
    >> To unsubscribe:
    >> http://www.redhat.com/mailman/listinfo/fedora-list
    >>
    Ok i explain what i did.
    The situation i have 2 pc in fc2 (pc1 192.186.1.11 pc2 192.186.1.12) and 1
    adsl-router-geteway-... (192.168.1.1).
    On the gateway i enable inscription to dyndns (toto.homeip.net this is an
    example because i don't want to give the real one on a mailing list) and
    enable port forwarding on port 22 to pc1.
    I asked to my system admin at my university to open ssh connection to
    outside.
    I connect from work to pc1 using ssh user@toto.homeip.net without any
    problem but if i try the same from pc2 it doesn't work. Thinking about it
    i found this quiet normal. From my private network i have to use private
    address and not port forwarding. The only thing i didn't yet achieve is
    when i'm connected by ssh from outside to pc1 I can't connect to pc2. I
    have to make some more tries but today i am in a part of my university
    where ssh to outside is forbidden. Some more news soon i hope.
    I hope also this will help you.
    Eric

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Volker Kindermann: "Re: Enabling VNC"

    Relevant Pages

    • Re: Openssh Port Forwarding Confusion
      ... >Now for my Port forwarding question. ... So far what I have extracted about ssh port ... You connect to a port on the SSH client. ...
      (comp.security.ssh)
    • Re: [opensuse] Howto Use/Relay Ports to Connect to Other Computers from Outside?
      ... I guess this situation is a port forwarding situation, ... In the past the only experience I have had with this is ssh port ... forwarding to forward X or reach other machines behind the router. ...
      (SuSE)
    • Re: [SLE] tunneling through an intermediate host
      ... SSH to the gateway as usual, setting up a forwarded port to ... >> enable X forwarding on this first connection since it doesn't ... >> sound like you're actually running anything X from the gateway. ...
      (SuSE)
    • Re: Unix-domain port forwarding with openssh
      ... Hmmmmm...why port forwarding? ... >like it would be an easy feature to add to ssh. ... your app's daemon, you could just run your app as an SSH command. ...
      (comp.security.ssh)
    • Re: Please explain port forwarding..
      ... > I have a NAT router with an SPI and several PCs on a peer network. ... > I have never been able to get what is really happening with port forwarding. ... assuming that you are using a simple NAT router on a DSL/Cable ...
      (alt.computer.security)