You are not logged in.
I have a NAS HDD behind a wireless router with an internal ip 192.168.0.4 it has a ddndns service which I have setup so the host name i have picked is foo.ddndns.com but when i see the IP of foo.ddndns.com it is my ISP's dynamic IP
now can I test ssh into my NAS
a) for an external IP
b) from my arch laptop which is 192.168.0.12 on the internal network
the home network is ISP MODEM >>DLINK ROUTER>>AIRLINK ROUTER>>NAS
the airlink router is used as a switch coz there are way too many devices in my network
Thanks for all SSH gurus
cheers
and i have forwarded port 22 on my dlink router which is 192.168.0.1 following is the screen shot of the setting
http://img55.imageshack.us/img55/785/snap2nq4.png
Last edited by venky80 (2009-01-10 02:39:18)
Acer Aspire V5-573P Antergos KDE
Offline
I'm not really quite sure what you are asking? I would say the problem is one of: the Airlink router not forwarding ssh, the DLINK router not forwarding ssh or NAS not responding. So I would try ssh'ing from every part of the network.
Offline
the airlink router is not being used as a router...it is just being used as a switch whcih is basically the input from the Dlink router just goes into one of the empty lan ports in the airlink router and there is nothing going into the WAN port of the airlink router
I am not sure if that makes it a little clear?
Acer Aspire V5-573P Antergos KDE
Offline
If the Dlink router is indeed forwarding the ssh packets to your NAS box, then it must be your NAS box. Check the settings for that.
Offline
Private port 21? Change that to 22 perhaps?
Offline
Make sure to check your /etc/hosts.allow and hosts.deny files, there might be a problem there.
Offline
ya i finally figured what was happening...it seems ssh and sftp are different (sorry iam a complete noob)
so sftp works so the public port is outsidemachine to the router and private port is router to NAS
so sftp username@username.mydyndns.com now works
Acer Aspire V5-573P Antergos KDE
Offline