• February 23, 2025, 03:07:46 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: FTP easy user guide  (Read 12929 times)

originalsnuffy

  • Level 2 Member
  • **
  • Posts: 32
FTP easy user guide
« on: February 24, 2009, 12:56:20 PM »

I thought it would be great if we could all create an area to share tips on properly setting up FTP, and how to access it from outside the home network.  We could share information on how to set up passwords, port forwarding on the router, and the correct addressing to access the unit from external locations.
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: FTP easy user guide
« Reply #1 on: February 24, 2009, 03:20:12 PM »

That would be quite a task ...

Very briefly - what you need to do is...

1 - set a static ip address on the DNS-321
2 - create a user with the appropriate access rights
3 - enable the ftp server

that should be enough to get you access on the local network, and if you want remote access

4 - configure the router to forward the port
5 - create an account with a dynamic DNS service and setup the dynamic DNS client
6 - configure the ftp client and resolve client side issues

Now think about how you're going to expand that to cover ...

a) port forwarding on a few thousand router/firmware variations
b) dynamic DNS setup for a few dozen dynamic DNS services, depending on what's supported by the user's router.
c) instructions to configure a few hundred ftp client applications


As far as I am concerned, the bulk of the challenge lies not in setting up the server, but in configuring the external components to provide access - in short - it's outside of the scope of a DNS-321 forum, and given the possible variations, the best place for the user to turn would be the support teams of whatever router, dynamic DNS service or ftp client he/she chooses to use.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

originalsnuffy

  • Level 2 Member
  • **
  • Posts: 32
Re: FTP easy user guide
« Reply #2 on: February 24, 2009, 07:22:31 PM »

Fordem:  that is a terrific framework!  You really covered the basics of what I was looking for. 

I discovered that with an anonymous ftp account, one does not even have to use the dynamic dns service.  All I did was download filezilla, and put in the ip address identified by my dynamic dns provider.  I think there are websites that will provide the ip address to you (I have comcast cable service).  I would not be surprised if ipconfig provided the same data, this is just how I came up with the address.

Sure enough, everything in my identified anonymous media share is now available for ftp access via the net.

Before doing this, I did test that ftp works on the local network .  This was tested this using internet explorer.  I have set up port 21 to forward as TCP. 

The next step is to use a different port for security reasons.  My understanding is that port scanners look for port 21.  However, I do have this set for read only, so I am not too worried.

Say....can we have two ftp setups, one with r/w and one read only?

Thanks again for a very good framework.
« Last Edit: February 25, 2009, 07:02:45 AM by originalsnuffy »
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: FTP easy user guide
« Reply #3 on: February 25, 2009, 07:36:04 AM »

Snuffy

Based on your posts, I would have to describe you as what I percieve as the typical user struggling to get ftp up on one of these units - I could be wrong, it's just my perception.

I would guess that you have limited networking experience, and this might be your first foray into any sort of server hosting and port forwarding.  Am I close?

You seem to be at the point that would be described as having just enough knowledge to be dangerous, and not enough to know what you're really about.

Before your edit, your post mentioned dynamic DNS and the DNS-321's DNS settings, by which I assume you refer to the DNS server entries in the LAN settings page.  Now you're talking about getting an ip address from ipconfig.

Well - it just doesn't work that way - why not try running ipconfig and see how the ip address compares to the one you actually used.

A couple of quick points ...

First - ip addressing - if your computer is behind a router, when you run ipconfig, you'll get what is called a private ip address, one from three possible ranges, set aside for private use - these are sometimes (incorrectly) called non-routable addresses - they are routable, but because theyare reserved for private use, most ISP's will drop them at their ingress/egress routers.

The ip address you need is the public ip address that your ISP uses to identify your router.

In most cases, the ISP will provide a dynamic address, one that changes from time to time, static addresses may be available, but usually cost a bit more - the problem that this creates when hosting a server is that you, more often than not, don't know when it changes, don't know what it was changed to, and have no way to find out if you're not on the network - this is why dynamic DNS is used.

You register a name with the dynamic DNS service, and you configure a dynamic DNS client that runs on a device on your network to periodically check for changes in the ip address and report these changes to the dynamic DNS servers, so that you can, through the use of the name you registered, determine the public ip address of your router, and so make a connection to it.

Second - DNS settings - the DNS server settings on the DNS-321's LAN settings page bear only a passing resemblance to the dynamic DNS services, and there is nothing that you can enter there to help locate your router on the internet - these settings are actually used, so to speak, for a diametrically opposed purpose - they tell the DNS-321 where to find a server that will allow it to resolve names you may have entered (email servers, time servers) to actual ip addresses.

Back to my perception - what a lot of the newcomers are looking for is instant gratification - a "how to" that will guide them step by step through the process, without them having to learn the basics, which is just not possible, given the variations mentioned in my earlier post.

Let's compare this to driving a car - the basic controls (accelerator, brake, steering, etc.) on a car don't change from one car to the next - consider this the user interface - but, what is under the hood does, so even though, most people can drive a car, if they're going to do their own maintenance, it calls for a lot more learning.

Networks are very much similar - from a user point of view - they don't change much, you can get on your PC and browse the net, download stuff - but - when you want to get under the hood of your network, a lot more learning is also required.

Like maintaining your car - you can learn to do it yourself, or you can pay someone else to do it - but there is no easy step-by-step guide.

Now - if you want to learn how it works (as compared to trying this and trying that and getting frustrated along the way, as I have seen many users do), get yourself some tutorials and start reading - I've already listed the areas that need to be covered.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

originalsnuffy

  • Level 2 Member
  • **
  • Posts: 32
Re: FTP easy user guide
« Reply #4 on: February 25, 2009, 09:23:08 AM »

No doubt about it, I am a "noob" with regards to FTP.

I did register with a dynamic dns service, which seems to have accurately reported the correct external dns address. 

Good point that this address might change...guess I will have to learn more about that.

I think there are services to "ping" that will provide the correct external address.

I understand the internal DNS is for name resolution, and that the page provided by the 321 is referring to these internal number.

Anyway...I did confirm that I can FTP into the device from my XP based notebook in the office.

I need to improve the security of all this next.

I also was able to peek at the folder structure from the iphone, but can't actually access anything from safari.  I gather there are apps for the iphone that improve FTP access.

Reading about configuring FTP and actually pulling it off are often relatively far apart for a reasonably non technical person.
Logged