D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: french_guy on September 04, 2011, 02:55:28 PM
-
Hello
Who could give a clear and detailed method (tutorial?) on how to configure my DNS 323 and router (DIR 655) to access my files stored on the NAS from the internet?
I already configured FTP on the DNS 323, and I think I did what was required on the DIR 655, but after what?
Do I need to activate DNS and create an account with DLinkDDNS or something like that?
Then what type of FTP software do I have to use, and how?
Thanks
-
Anybody?
-
Whether or not a dynamic DNS registration is needed is dictated by the type of internet connection you're using - if your ISP allows a static ip address, and you're willing to pay the premium they charge, then you should be able to connect to your DNS-323 with your web browser by entering ftp://<ip-address>
If you don't have a static address, your public ip address will change from time to time and a dynamic DNS registration becomes the easiest way to find the connection.
For now - check the router for it's WAN address and then try to connect to the DNS-323 from outside the network to see if you have the configuration correct.
-
I think I did what was required on the DIR 655, but after what?
What did you do with your router configuration? Did you forward ports on your router to the local IP of your DNS?
Then what type of FTP software do I have to use, and how?
There are many FTP clients out there that you can use, and many of them are free to use. eg: FileZilla, WinSCP, etc.... just to name a few.
Regards,
-
Hello all
I have created an account at DLinkDDNS.com (myname.dlinkddns.com), and I have setup my router with those parameters (username and password)
By the way about the account, dlinkddns is showing a field "IP in DNS" with an IP address into it, and the same IP address in a second field named "browser IP address"
But there is also a 3rd field "New IP address" that is blank.....What should I do with that field?
Should I put somewhere the WAN address of my router?
The router (DIR655) shows "connected" on the Dynamic DNS page
In the virtual server page, I have configured as per the documentation:
Name=DNS-323-FTP
IP address = Static ip address of my DNS 323
Port public=21
Port private=21
Protocol is TCP and 6 on the cell underneath
Schedule = always
Inbound filter = allow all
I'm using SmartFTP as an FTP client.....When I type in the address myname.dlinkddns.com and put username and password, it says after few seconds that the server failde to identify (or something like that)
What am I missing?
Thanks
-
Are you testing from within your network? If you are, then have someone test from a different location - connecting to the public ip from within the LAN requires the router to support loopback, and not all of them do.
If you're testing from outside the LAN, start by pinging the URL - look to see what ip address it resolves to, and then verify that it matches the routers WAN ip address.
Have you attempted to connect to the ftp server from within the LAN using the DNS-323's private ip address? did it work?
-
No, I'm testing from outside my network
Yes, I can ping the URL from the outside (result is ~500ms)
But the IP address is different form the routers's WAN IP address (which is something like 10.x.x.x)
In fact, the IP address from ping is matching the IP address that I can se when I log into DlinkDDNS.com ("IP in DNS")
But "Browser IP address" is different.......
I'm a little bit lost with all those IP addresses...!!!
-
You did not identify your ISP provider or modem used.
I know that there are some ADSL modems provided by Bell/Sympatico that have crippled firmware.
These modems will not allow connection from outside not even remote desktop can get through.
Thomas
-
Some tests to do.
1. Do you have a ftp server listening to 21
On your local network run telnet <dns323ip> 21 e.g telnet 10.11.0.1 21
2. Find your wan-ip by surfing to http://www.whatsmyip.org/ from inside your network.
3. Test if there is a ftp server listning to 21 from outside network this command needs to use a different internet connection e.g. you mobile phone or work.
telnet <wan-ip> 21 e.g. telnet 81.233.47.60 21
If 3. does not get any type of answer you have probably not got your DIR setup correct. This is also my guess what is wrong.
-
No, I'm testing from outside my network
Yes, I can ping the URL from the outside (result is ~500ms)
But the IP address is different form the routers's WAN IP address (which is something like 10.x.x.x)
In fact, the IP address from ping is matching the IP address that I can se when I log into DlinkDDNS.com ("IP in DNS")
But "Browser IP address" is different.......
I'm a little bit lost with all those IP addresses...!!!
A 10.x.x.x ip address is a private ip address - which points to one of two situations.
1) You have a modem/router of some sort in front of your DIR655 router - if this the case, then this modem/router needs to be placed in bridge mode, or if that is not possible, configured to point to your DIR655 as a DMZ (De Militarized Zone).
2) Your ISP may be using private addressing on their network - this has become incresingly common as the shortage of ipv4 addresses grows, with seemingly no progress towards the widespread adoption of ipv6 - if this is the case, you'll need to contact the ISP and see what solutions they can offer.
-
Some tests to do.
1. Do you have a ftp server listening to 21
On your local network run telnet <dns323ip> 21 e.g telnet 10.11.0.1 21
2. Find your wan-ip by surfing to http://www.whatsmyip.org/ from inside your network.
3. Test if there is a ftp server listning to 21 from outside network this command needs to use a different internet connection e.g. you mobile phone or work.
telnet <wan-ip> 21 e.g. telnet 81.233.47.60 21
If 3. does not get any type of answer you have probably not got your DIR setup correct. This is also my guess what is wrong.
#1: It works, I received something
#2: I found my IP address
#3: It doesn't work, I receive nothing
Is it because the firewall from my office may block me? Hwo should I telnet from a smart phone to test?
-
As already mentioned, do you have anything in front of your router? ie: another router, modem, gateway?....
Regards,
Wiggs
-
Yes, I have a modem (ADSL2+, Dlink 500B)
So conenction is as follow:
Phone line <------> Modem <-------> Router DIR 655 <-------> DNS 323
On my router, what should I use: Port forwarding or Virtual server?
I tried both, but result is the same...!!!
I will look in the parameter of my modem about "bridge mode or DMZ
-
Yes, I have a modem (ADSL2+, Dlink 500B)
The D-Link 500B IS an ADSL modem/router and therefore the most likely cause of your problem - it needs to be put in bridgedmode.
-
I just want to say that I have to hand it to you guys trying to help out on this thread. Sometimes, there's just no way to leap the Grand Canyon in any number of short hops!
My advice to the OP would be to read up on some fundamental networking concepts first before trying to tackle this. Or, get a friend (or hire someone) to do this, but shadow them, getting them to explain each step.
My $0.02,
DH
-
Well, I thought that was the purpose of that forum..........help each other!!!
-
I'm perfectly clear on the purpose of the forum (indeed, any forum). Although I haven't posted much on this particular one I'm no stranger to forums and regular give/get peer help/advice. Everything I know, I had to learn (at least once, sometimes more) - that's the same for everyone!
My advice to you was/is, study up on a number of topics first. Or, for your current need (which has more complexity than you can handle from your current knowledge level), seek more advanced help, but shadow that person to learn in context.
The point is, the learning curve is just too steep when you don't understand so many things, including, IP addressing (private vs. public and the relevance of various ones you see), ports (which to forward, which might be blocked, how to work around it, etc), the FTP protocol (various issues including passive mode, need for two ports, etc), and so on.
I expressed an observation and gave some advice - no "diss" intended.
-
Well, I understand and point is taken...
But on the other hand, I do not want to become a specialist by reading/learning tons of things on general network only to make something works when it's supposed to work "easily" when you look at the DLink owner's manual
I have a network cam (DSC 930L) and I have the same problem while the manual says it quite easy to access it over the internet...And I tink I did "per the book" what they explained
So no I don't want to analyze tons of forums to understand better and in details to finally find by myself the solution. I prefer to go on a forum to find the right help
But again, I do this because when you read the owner's manual from D-Link, it seems quite easy to make it works....But it's obviously not
And for the little story, I'm French, I used to live 5 years in the USA and now I've leaving in Brazil for 1 year (for my job)...So I don't have any friend specialist in network that could help me out. And even if i could find someone, language might be an issue since I'm not good (at all) with Portuguese and English or French is not so common in my area...lol
-
@dividedhighw - Although you say that there is no "diss" intended, your posts offer no help at all to the OP for the problem he/she brought to this forum.
This forum exists so that people "who don't have the knowledge" can learn to do things for themselves through the participation of this community's members.
If one were to follow your advice, then every question posed should be answered with "hire someone to do what you are trying to do because you lack the technical knowledge". I don't believe that is the spirit of this forum.
No "diss" intended - Just my $0.02.
Regards,
-
@french_guy, I can understand everything you are saying - I'm an Englishman in France :) but one thing I would say, if you don't understand anything that is said - say so.
Most of us that try and help either work at the hardware end of computing or have learned the hard way to use the equipment and so may assume more knowledge on the part of the person asking the question than that person actually has.
Myself, I am a diagnostic engineer - among other things, and have to admit get a little frustrated when people don't describe their problem fully and give all relevant information.
Now on to your problem. Why do you have a modem/router and a router in your setup? Why not just use modem/router <---> Switch <---> DNS-323 with your computer connected to the switch as well? If you want WiFi then use an AP connected to the switch.
-
OK - I'll bite, but only to give one last attempt to explain myself .... not to start a flaming war.
I offered "help" in the way of advice which I believe is sage and appropriate. I was once doing a plumbing job that seemed simple at first. Then I got in over my head and eventually realized the well-meaning advice I got along the way should have included "know when you've bitten off too much". I was only trying to do likewise, hence the "no diss intended".
You are welcome to your opinion that my advice is not meaningful, but for example if the OP had said they had set up FTP to their DLink box in a certain fashion which seemed correct but couldn't get a response, say from work, I could have offered the observation that some enterprises block/restrict FTP access from their networks (i.e. outgoing to port 21 isn't allowed) and perhaps moving to a well-known port like port 22 (which almost certainly wouldn't be blocked) might do the trick. This I would categorize as appropriate forum help.
The problem here is that I have the impression the OP doesn't understand IP addressing or ports, etc, thereby raising more queries and prolonging the agony rather than being of help. So, in my example, the above advice, however meaningful/intended, would be wasted.
That's why I said I admire the people (like you, @Wiggs) who are trying to help.
HTH ... if not, consider my original comment retracted. Forums have been a HUGE help to me in the past and I hope, continue to be so, going forward.
DH
@dividedhighw - Although you say that there is no "diss" intended, your posts offer no help at all to the OP for the problem he/she brought to this forum.
This forum exists so that people "who don't have the knowledge" can learn to do things for themselves through the participation of this community's members.
If one were to follow your advice, then every question posed should be answered with "hire someone to do what you are trying to do because you lack the technical knowledge". I don't believe that is the spirit of this forum.
No "diss" intended - Just my $0.02.
Regards,
-
French_guy, check what you see at WAN configuration of your router. If it says DHCP and obtained IP address is something like 192.168.x.x it means that your DSL modem acts as a router and also performs dynamic address translation. As a result all of your packets from outside reach your DSL modem and are being dropped because DSL modem has no idea about any port forwarding you implemented on the router.
In order to make things work you need:
1) obtain PPPoE credentials for your DSL connection (in the form <username@isp.xxx> <password>)
2) configure WAN interface of your router with these PPPoE credentials (instead of DHCP)
3) put your DSL modem into bridge mode (either from its web interface or by hard resetting it). Depending on your modem this last step may not even be needed because some types recognize PPPoE packets and pass them through as is.