Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172075

Re: SSH Connection Behind A Router/Firewall

From Arun Khan <knura9@gmail.com>
Newsgroups linux.debian.user
Subject Re: SSH Connection Behind A Router/Firewall
Date 2016-09-12 06:40 +0200
Message-ID <sgrcd-6ZZ-1@gated-at.bofh.it> (permalink)
References <sfbMe-o9-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 8, 2016 at 10:49 AM, Tim McDonough <tmcdonough@gmail.com> wrote:
> I have a very straightforward Debian Jessie machine on my network. For SSH
> it uses the standard/default Port 22 and accessing it via ssh works just
> fine from anywhere on the local network.
>
> I also have a NetGear router configured so that a connection from the
> outside world using Port 1024 gets forwarded to the local IP and Port 22 on
> the LAN. My problem is when I attempt a connection from the outside world
> the connection is refused.

Presuming the ssh "client" is on the WAN, have you set the
"destination" port to 1024 in that client?
For example in *nix box, it would be "ssh -p 1024 someuser@your_wan_pub_ip"

-- Arun Khan

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

SSH Connection Behind A Router/Firewall Tim McDonough <tmcdonough@gmail.com> - 2016-09-08 20:00 +0200
  Re: SSH Connection Behind A Router/Firewall Joe <joe@jretrading.com> - 2016-09-08 20:50 +0200
    Re: SSH Connection Behind A Router/Firewall Tim McDonough <tmcdonough@gmail.com> - 2016-09-09 01:50 +0200
  Re: SSH Connection Behind A Router/Firewall Arun Khan <knura9@gmail.com> - 2016-09-12 06:40 +0200

csiph-web