D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: Mak on October 24, 2010, 01:58:58 AM
-
Hi,
I have a DNS-323 installed in my home network, it is perfect.
Now that I often work outside the home, I need to access remotely to the NAS, but I have a few gaps.
Network configuration:
- DNS-323 with 1TB HD
- Router NETGEAR DG834G firmware V4.01.40
- Laptop windows 7-64bit
I registered the domain name with DDNS and disabled DHCP server but i'm not able to do more. Someone can explain what I do, or link me some guide where I can find more information?
About the networks I have some confusing information I'm not an expert, I'd like to learn.
Thank you!
-
First, you need to decide what kind of remote access you'd want: Access to the DNS-323 web interface? FTP?
That question translates to "which ports do I need to forward on my router". It will be easier if you set the DNS-323 to a static IP.
There's a bunch of guides here: http://portforward.com/guides.htm
You can test if you set port forwarding using this web-site: http://www.yougetsignal.com/tools/open-ports/
or using online security check sites like GRC's ShieldsUP: https://www.grc.com/x/ne.dll?bh0bkyd2
-
thanks, but i presume that i need to know the differences between web interface or FPT.
I don't, or better, these are two different protocols: http and ftp. The differences between these protocols i don't know.
Maybe is more simple know my needs for you.
I need to transfer some file from my work station at nas, and vice versa. (doc, pdf, dwg, ai, xls, jpg...). Sometimes i don't need the file transfer but only the read.
I need to access also in pubblic spot such as airport, hotel...
these are my necessity at the moment.
After this, I will have to share a folder with a person, but now is not important.
-
if you want to access files remotly, the best way would be by FTP
you will need to enable the FTP server in the DNS-323
Then you will need to redirect the ports on the router
then you will need a FTP client installed on the computer that will be accessing the DNS-323
Theres many good FTP clients out there, FileZilla is good and free...
-
Then you'll probably want to use FTP. As Buhric wrote, FileZilla is a good application. If you're using Firefox, I can also recommend the FireFTP add-on.
Please see the links I posted in the previous post. You can start reading about all that stuff there.
-
thanks guys!
everything seems to work. Tomorrow at work I see how it goes.
I used filezilla! :D
-
Don't thank us yet ;)
It might get a bit more complicated, depending on your router: You might need to enable passive mode (http://slacksite.com/other/ftp.html)
As I wrote, there are some services that you can use to test if you set up port forwarding correctly.
Depending on your router, you might even test your setup from home. To do that, you'll need to know your external IP (or if you have a DNS address - even better) and use that to connect to the FTP server on the DNS-323. To find out your external IP address goto this site: http://www.whatismyip.com/
-
Don't thank us yet ;)
ya!
it does not work... ??? The other day from work, I tried to go [name].dlinkddns.com and gave me error. Instead, if i connect from home, within the main page of router....
-
ya!
it does not work... ??? The other day from work, I tried to go [name].dlinkddns.com and gave me error. Instead, if i connect from home, within the main page of router....
From work? That probably means you're behind a firewall (your work firewall) This means you'll need to use passive mode. See my previous post for an in-depth look of what this means, technically.
You'll need to configure the DNS-323 passive ports and configure your router to forward them. Also, I suggest checking the report external IP in passive mode.
Then change FileZilla to use passive mode.
If you run into problems, please post the log from FileZilla.
See FileZilla online documentation for these last two.
-
Actually, the firewall affects the FTP server mode, not the client. If the server is not firewalled, active mode should work behind a firewall on the client side.
-
thanks guys. I managed to do something 'cause of your advice and with these videos.
http://www.youtube.com/watch?v=BCxdGWmrcOM&feature=related
http://www.youtube.com/watch?v=H-c24SKRTfQ
Trying to configure Filezilla seems to work everything. Tuesday I'll try from work.
While I was trying to set things up I thought if I could download the torrent file and makes it work on torrent server. Is it possible? I can see all my files, but don't know how to enter the page of the web server
-
Actually, the firewall affects the FTP server mode, not the client. If the server is not firewalled, active mode should work behind a firewall on the client side.
Since Mak connects to his home(?) DNS-323 from work (i.e. his FTP client is probably behind his work FW) then active mode probably won't work for data transfers since in active mode the server side initiates the data connection. FTP commands should work just fine. Using passive mode, both command and data connections are initiated by the client.
-
No one mentioned and I am not sure if you are aware of this but when using FTP, your data is not encrypted. This includes your username and passwd. Hopefully you are not working with sensitive material.
-
Actually, the firewall affects the FTP server mode, not the client. If the server is not firewalled, active mode should work behind a firewall on the client side.
It's actually the other way around - with active mode ftp, the data connection is established from server to client - so, if the client is behind a firewall, that clientside firewall must be instructed to allow the incoming connection through, and if it's performing address translation, it also needs to know which internal host to direct the connection to.
This is, in fact, the sole reason that passive ftp exists - it transfers these issues to the server side.
-
The connection works. I can upload and download files on the NAS. But I found a problem, when I access in bit torrent server show me this message: connection to server failed, making it difficult to load a torrent file.... why?
-
Nothing like making something simple so difficult. Scrap DDNS and filezilla and all FTP client apps. This is simpler and works from anywhere there is an internet connection.
This is on a Linksys router, but it should be similar for most of them. It is only the menu layout in a browser that may differ.
Enter the router's browser setup (192.168.1.1 for Linksys) and, under Applications and Gaming/Port Forwarding, open port 21 as both start and end. Name it and click enable. Now, port 21 is open.
You now need your router's ip address. Look under status or just browse through until you find it.
Once you find it and you are not at home, type your router's ip address followed by :21.
ie: ftp://oo.oo.oo.oo:21 or try it without the :21. It will probably ask for a password, too, so you
If that gives you access, then you go to mapping at the top of windows explorer and follow the instructions, using the ip address as the link when asked. You now have a "hard drive" mapped to "My Computer". Simple and straight forward.
--------------------------------
DNS-323 FTP:
Follow the instructions on pages 34-35 of the 323s user manual for FTP setup.
--------------------------------
Following the above is how, if I recall the ip address access correctly, works the best. I tried the DDNS crap and it was impossible to access. Then, an IT co-worker gave me the info above and it worked within a couple of minutes of remotely setting up of my router. Look under administration in your router settings for remote access. Set a password and enable it. Then, when you are not at home, just type your IP address (or mapping my work, too) followed by :8080 for a Linksys router (it tells what port will be used). Now, it just takes some playing with all these settings on both devices for fine tune what I have given you here.
-
There's one problem with the procedure above - it uses the router's WAN ip address, which, for most of us is dynamically assigned by our ISP, and changes from time to time - that's why we need to use some form of dynamic DNS.
-
I am using an Airport extreme with PC and Apple computers
I want to access the web interface remotely so I can set up torrents to start when I am out of the home.
I think I got the airport extreme to open port 7022 but I am not sure as it has a bunch of drop down suggested connections.
I have a dyndsn.com forward set up which I beleive works as I would get an error on the setup if it didn't, eitherway I have tried to access from the dns link and the ip address with the port reference to no avail.
Any other suggestions on how to access the web interface?
-
The web interface is on port 80 - you either have to forward port 80 to the NAS, or, if your router supports port redirection you can forward the port of your choice to port 80 at the NAS.
-
Thanks fordem for getting back to me so quickly
I have an apple extreme router. I don't know how to set up the port forward or open the port.
My dns323 is 192.168.1.168 on my local network.
I don't know where and what I go into on my airport utility to turn these things on for remote access
Much appreciated.
-
I think I got this figured.
I went here for some help on AirPort Extreme
https://discussions.apple.com/docs/DOC-3415
Directions are slightly different now.
Edit setting...goto advanced ......port settings....new entry.....
I selected windows Remote Desktop but it doesn't matter what you select as you can edit
Pick public port you want to use. 1234 for udc and tcp , then the local IP address of your dlink 192.168.1.168 or whatever yours is.
Then the ports you forward to. Based on forem I chose 80 for tcp and udc
I had also set up a reservation by dhcp using IP address I'm not sure if that is necessary but seemed to work with it.
I have tried to acces from within my own network and it works.
Ie mydlinknas.dyndns.com:1234 and it gives me the web access panel.
-
Sounds like you have it covered - make sure to use a strong password.
-
Seems to work fine. What are the security concerns.? I suspect if someone get the ip right or the dynes forward right they will see my logon screen.
Will the log file pick up multiple failed logon attempts?
Is FTP more secure than this?
Also to set FTP up can I use my same dns forward and just openanothe port on my router?
-
If you're using a "non-standard" port (ie other than 80), the security risks are largely mitigated - the NAS will not be detected by a routine scan - however - if for some reason someone were to focus on you they could locate that port.
I don't recall if the unit logs failed logon attempts, and my DNS-323 died earlier this year, so I'm unable to verify that for you - you could try it yourself though.
ftp access would not permit you to set up torrents, which is what you said you wanted to do - as a service in it's own right, it's considered to have it's own security issues, primarily because logon credentials are transmitted in "clear text", visible to anyone who know where to look - personally - I don't see this is as a concern, since it not only requires someone with the know how, that person would also need to have network access at a level most don't - if I were the pentagon I wouldn't trust ftp, and because I'm not the pentagon, I don't have a bunch of Snowden wannabees scrutinizing my every move - I've actually run an ftp server, on the standard port, on a static address for over fifteen years without a single unauthorized access attempt being logged.
ftp is a little more challenging to setup, but yes, you can use the same dyndns URL and forward the appropriate ports.
-
So on the FTP I can define a separate port in the dlink box. The. I assume I forward a outside port to the FTP port? Is that right?
-
The DLink box (presumably the DNS-323) will expect a connection on port 21 after you have enabled the ftp server.
It might be a good idea to find some sort of a tutorial on ftp and how it works before you get started.
-
i removed the port forward rule from my router as I read the apple airport express doesnt forward ports that well and now it works very good.
Since I have access to the web interface I can turn on/off the ftp server as needed.