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


Groups > linux.debian.user > #229420

ssh tunnelling testing

From Gary Dale <gary@extremeground.com>
Newsgroups linux.debian.user
Subject ssh tunnelling testing
Date 2020-12-07 19:10 +0100
Message-ID <Bjt7s-334-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I'm running Debian/Buster on various servers, including my home server. 
I'm trying to set up an ssh tunnel that I can use post-pandemic in case 
I need to access my home network remotely. I'm already doing this to 
various remote servers so I thought this should just work, since I can 
already access my home server locally using its 192.168... address 
(actually through the /etc/hosts file using the server's name).

I've set up port forwarding on both my routers (I have an inner network 
and an outer one, using the outer network for devices I don't really 
control). I can access my Apache2 server on the inner network by 
forwarding port 80 on the outer network to the WAN address of the inner 
router and forwarding that to my server. Pointing my browser to the 
external IP address of the outer router brings up the default page - 
which I can change so I know it's the actual local page.

However, when I try to ssh to the same address, it just times out.

I've compared the sshd.conf file on my local server to one on a remote 
server and they are identical. The only uncommented lines are:

PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem       sftp    /usr/lib/openssh/sftp-server


Any ideas on what's going wrong?

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


Thread

ssh tunnelling testing Gary Dale <gary@extremeground.com> - 2020-12-07 19:10 +0100
  Re: ssh tunnelling testing john doe <johndoe65534@mail.com> - 2020-12-07 19:30 +0100
    Re: ssh tunnelling testing Gary Dale <gary@extremeground.com> - 2020-12-07 20:00 +0100
      Re: ssh tunnelling testing john doe <johndoe65534@mail.com> - 2020-12-07 20:10 +0100
        Re: ssh tunnelling testing [solved] Gary Dale <gary@extremeground.com> - 2020-12-07 20:20 +0100
          Re: ssh tunnelling testing [solved] john doe <johndoe65534@mail.com> - 2020-12-07 20:30 +0100
            Re: ssh tunnelling testing [solved] Joe <joe@jretrading.com> - 2020-12-07 20:40 +0100
            Re: ssh tunnelling testing [solved] john doe <johndoe65534@mail.com> - 2020-12-07 21:20 +0100
            Re: ssh tunnelling testing [solved] Gary Dale <gary@extremeground.com> - 2020-12-07 22:10 +0100
              Re: ssh tunnelling testing [solved] Gary Dale <gary@extremeground.com> - 2020-12-09 17:00 +0100
                Re: ssh tunnelling testing [solved] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-10 09:00 +0100
          Re: ssh tunnelling testing [solved] Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-08 10:20 +0100
  Re: ssh tunnelling testing "der.hans" <deb-user@LuftHans.com> - 2020-12-07 20:10 +0100
    Re: ssh tunnelling testing Gary Dale <gary@extremeground.com> - 2020-12-07 22:20 +0100

csiph-web