• September 19, 2019, 05:23:59 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.

Pages: [1] 2

Author Topic: New to FTP setup.  (Read 13288 times)

irongladiator

  • Level 1 Member
  • *
  • Posts: 11
New to FTP setup.
« on: October 31, 2010, 03:58:02 PM »

Hey Guys, I just got a DNS-323 with a Seagate Barracuda 500GB drive. Everything works great. But I'm a bit stumped on the whole FTP thing. I got it work internally, and it works great but where I'm confused is what to "Port forward". If I go (From Internet Explorer) to "ftp://My WAN IP", I can get to where you can enter a username and password, but once you enter it, it kinda hangs and then goes to a "Internet Explorer Cannot Display The Web Page" error. Whereas if I go to "ftp://DNS-323's LAN IP" I can get into it with no problem. I have Comcast for my ISP, are they blocking any ports, should I be enabling something? I'm new to all of this. Thanks in advance for any info guys!
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #1 on: October 31, 2010, 04:18:51 PM »

Firstly, you'd be better off using a proper FTP client for Windows such as FileZilla. It's freeware and very popular and has many more options available to configure. In my experience it works better than standard Windows explorer.

Secondly, you will need to open the FTP port on your firewall (21 probably, but it depends what's in the DNS-323 settings under FTP) and have it point ("forward") to the internal LAN IP address of your NAS. If your NAS has a static IP address, this will help and is recommended anyway.

The idea is that when you request port 21 on your WAN address, your firewall/router will forward the request to your DNS-323.

You can check which ports are open on your WAN IP by using web services such as "Shields Up!".

If you don't always know what your WAN IP address is, look at a dynamic DNS service such as dyndns. This will allow you to register a host name like dns323.dyndns.org and have it automatically point to your WAN IP. This works by your router or the NAS telling the DDNS service what your current WAN IP address is.
« Last Edit: November 26, 2010, 05:53:32 PM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

irongladiator

  • Level 1 Member
  • *
  • Posts: 11
Re: New to FTP setup.
« Reply #2 on: October 31, 2010, 04:29:14 PM »

Hey jamieburchell,
Thanks for the reply. I'll check out the "Shields Up!" Everything else you mentioned was already done. I'll repost if I have further questions.

**UPDATE**
It appears port 21 is opened up by my ISP.

So.....any other ideas?
« Last Edit: October 31, 2010, 04:32:50 PM by irongladiator »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #3 on: October 31, 2010, 04:33:46 PM »

Have you actually tried to connect outside of your network?
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

irongladiator

  • Level 1 Member
  • *
  • Posts: 11
Re: New to FTP setup.
« Reply #4 on: October 31, 2010, 09:12:02 PM »

I'm a field technician for a telecom company. All of us techs have Internet in our vans. I'll check there, and report back. But to answer you question, no I have not tried outside of my network. I thought that in theory if you hit your own WAN IP it'd be just like if you were on the outside. Is that NOT the case? I'll report back in a few.

**UPDATE**
No-Go, from my work van. I can get to the point where it'll ask for my username and password. I enter them and the same thing happens I get to a page that says:  "Internet Explorer Cannot Display The Web Page". Any other ideas?
« Last Edit: October 31, 2010, 09:24:58 PM by irongladiator »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #5 on: November 01, 2010, 03:10:41 AM »

Use FileZilla and try, not Windows Internet/explorer.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: New to FTP setup.
« Reply #6 on: November 01, 2010, 04:01:23 AM »

Did you notice that you can connect to the ftp server, in that it requests a username & password before it drops dead?   ftp requires two connections - a control connection, which you are establishing, and a data connection, which is where you're getting stuck.

Internet Explorer defaults to passive ftp - for passive ftp to work you have to ...

1 - tell the DNS-323 to report the external ip address
2 - forward the range of "passive ports" you configured on the DNS-323 to the DNS-323.

You also need to be aware that the passive ftp functionality in the DNS-323 is broken, as it does NOT track changes to the external ip address, should that change.

Go to internet options, and deselect passive ftp and try again - I'll bet it works.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

irongladiator

  • Level 1 Member
  • *
  • Posts: 11
Re: New to FTP setup.
« Reply #7 on: November 01, 2010, 07:33:46 AM »

fordem,
Yeah it is the "Data" connection is where I'm getting stuck. I'll try an FTP client, but I would prefer to use Internet Explorer. This is what my settings are (I havent changed them at all):
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #8 on: November 01, 2010, 11:04:35 AM »

If you really must use Windows explorer/IE - as fordem says, you can check/uncheck "Use Passive FTP" in the options menu.
Fordem is also suggesting that you'll need to open the ports on your firewall that are shown if you're using passive mode.

However, in both Windows and FileZilla I can access FTP in Active or Passive mode from outside of my network on my DNS-323 with just port 21 open on my firewall. I've also verified the ports that are open on my firewall.
« Last Edit: November 01, 2010, 11:10:41 AM by jamieburchell »
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

qinstaller

  • Level 1 Member
  • *
  • Posts: 2
Re: New to FTP setup.
« Reply #9 on: November 02, 2010, 01:56:46 PM »

If I may add to this discussion since I to am new to setting up an FTP. I have opened up the available ports in the router but am receiving this when I try to connect from another network using Filezilla as recommended.

Status:   Connecting to xx.xxx.xxx.xx:21...
Status:   Connection established, waiting for welcome message...
Response:   HTTP/1.0 400 Bad Request
Error:   Could not connect to server

I have verified that I can connect to other FTP's just not the DNS-323
« Last Edit: November 02, 2010, 02:53:31 PM by qinstaller »
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #10 on: November 02, 2010, 04:13:21 PM »

Have you verified that you can FTP to the NAS from inside your network?
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

qinstaller

  • Level 1 Member
  • *
  • Posts: 2
Re: New to FTP setup.
« Reply #11 on: November 02, 2010, 06:04:19 PM »

Yes we just verified that connection can be made from inside the network.
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #12 on: November 03, 2010, 07:38:49 AM »

Does setting passive/active mode make any difference? Fordem suggests that using one over the other will help in certain circumstances. For me, I can use either with just port 21 open on my router/firewall.

Here's a handy tool that you can run from inside your network that will analyse your external IP and tell you which ports are open (to confirm).

https://www.grc.com/x/ne.dll?bh0bkyd2

It does sound like you are establishing an initial connection however.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

grixx

  • Level 1 Member
  • *
  • Posts: 23
Re: New to FTP setup.
« Reply #13 on: November 03, 2010, 07:50:43 AM »

Status:   Connecting to xx.xxx.xxx.xx:21...
Status:   Connection established, waiting for welcome message...
Response:   HTTP/1.0 400 Bad Request
Error:   Could not connect to server

Didn't you notice that you've got a http-response upon a ftp-request?
I bet you are not talking with your NAS from the outside but with your router. Are you absolutely sure that you have mapped outside tcp-port 21 to your NAS's private IP-address  and tcp-port 21 in the NAT/PAT-rules of your router?


Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: New to FTP setup.
« Reply #14 on: November 03, 2010, 10:23:46 AM »

PteJack,

You might be better starting a new thread with your guide. Call it something like, A Guide to Setting up an FTP Server on your DNS-323 - then remove the posts from this thread. We've both hijacked someone elses thread :)

The moderators might even make it a sticky - but I've not seen them in a while.

Jamie
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!
Pages: [1] 2