NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
q3d
Sep 10, 2023Aspirant
Local SSH works, remove SSH fails even with port-forwarding
I have enabled SSH, and locally works fine for the accounts that have SSH enabled. However, when I port forward port 22 to the NAS, it doesn't respond when trying to use SSH (on laptop/phone when...
- Sep 18, 2023
I enabled DMZ on the router to point to the NAS and works fine - so it's the router 🙂
Thanks for your input guys - I haven't done basic h/w troubleshooting for several years now, so a revisit is always good.
Note: I've secured the NAS now that I know what was causing the issue.
schumaku
Sep 10, 2023Guru - Experienced User
q3d wrote:
I have enabled SSH, and locally works fine for the accounts that have SSH enabled.
However, when I port forward port 22 to the NAS, it doesn't respond when trying to use SSH (on laptop/phone when away/using mobile data). There is a timeout response from the client and the logs from the NAS just show (auth.log):
Sep 10 19:07:21 NAS sshd[10270]: pam_unix(sshd:session): session opened for user admin by (uid=0)
Sep 10 19:07:21 NAS sshd[10270]: pam_unix(sshd:session): session closed for user admin
Any way to diagnose what's preventing access to the NAS via SSH?.
Uneducated guess: You need to use the username root, instead of admin.
q3d wrote:
I've also enabled FTP (+SFTP) and same issue, no response/time outs when connecting from an external IP (non-LAN)
Not sure you understand the major difference between sftp and ftp, especially when using ftp over port forwarding?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!