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 19, 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.
q3d
Sep 11, 2023Aspirant
It's on a RN316, OS 6.10.8. I've stripped down to a bare external SSH connection to troubleshoot external IP's accessing the NAS, it won't be permanently exposed in the end, but for now as part of a process of elimination I need to start with a simple base-line of Client -> External IP -> ISP -> Router (Port Forwarding) -> NAS (LAN)
It's not the ISP or the router. I keep the port-forwarding settings on the router the same, except change destination IP from the NAS to another server and it works fine with the other server. When I use the NAS as the destination IP, it doesn't work. This is the same regardless of which external port used.
ie
Client -> External IP -> ISP -> Router (Any External Port -> Port Forwarding to internal 22) -> RPi-Server (LAN) ** works
Client -> External IP -> ISP -> Router (Any External Port -> Port Forwarding to internal 22) -> NAS (LAN) ** fails
Port forwarded using TCP/UDP and both, same result. Access to the other LAN Server works fine, but NAS fails.
Yep FTP usually uses port 21 for control and port 20 for data but I also have high port ranges on that as well for passive mode. I was using FTP just to test connectivity, I'm mainly after the SSH (or SFTP) to work for now.
Does the the RN OS have any other ip settings that could cause external ip blocks? There's the standard ones I've listed above (the usual for Ubuntu/Debian, etc.)
StephenB
Sep 11, 2023Guru - Experienced User
q3d wrote:
Does the the RN OS have any other ip settings that could cause external ip blocks? There's the standard ones I've listed above (the usual for Ubuntu/Debian, etc.)
Not that I know of.
Just wondering - do you have both NICs connected on the RN316?
- q3dSep 14, 2023Aspirant
Yes, both NIC's are being used
Name: bond0
MTU 1500
Over eth0, eht1
IP Settings; DHCP
Mode: Adaptive Load Balancing (primary = eht0)
- StephenBSep 14, 2023Guru - Experienced User
q3d wrote:
Yes, both NIC's are being used
Name: bond0
MTU 1500
Over eth0, eht1
IP Settings; DHCP
Mode: Adaptive Load Balancing (primary = eht0)
Try disconnecting eth1 and see if that makes any difference.
- q3dSep 19, 2023Aspirant
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.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!