D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: gokorean on September 18, 2008, 09:34:23 PM

Title: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on September 18, 2008, 09:34:23 PM
Hello all

Anyone using the 2wire 2700HG-E wireless modem provided by Telus with DNS-323?

I have issue with FTP server on DNS-323 from internet.

I am able to connect FTP server inside of my network but somehow can not connect from outside of my network.

I already tried port forwading and DMZ mode on the 2wire 2700HG-E wireless modem.

Any help appreciated!!

Cheers.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on September 19, 2008, 05:05:46 AM
Possible problem areas

1 - do you have a default gateway set on the DNS-323
2 - the client side firewall
3 - your ISP may block port 21 inbound.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on September 21, 2008, 02:57:12 PM
Hi Fordem,

thanks for your reply.

If i run FTP Server from my Vista machine, it works from outside of my network.

Could you please tell me about this (do you have a default gateway set on the DNS-323) in detail?

This is my dns-323 setup details
1. SETUP ->LAN -> use static ip
2. ADVANCED -> FTP SERVER -> enable FTP with group which as user with password
3. ADVANCED -> UPnP AV SERVER -> enabled
4. ADVANCED -> iTunes SERVER -> enabled
5. ADVANCED -> DHCP SERVER-> disabled
6. ADVANCED -> LLTD-> disabled
7. TOOLS -> DDNS -> disabled

thank you.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on September 21, 2008, 06:21:31 PM
When you set the static ip address - the third field is gateway ip address - you need to have the ip address of the gateway there (usually the router)
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on September 21, 2008, 06:37:26 PM
Hi Fordem,

Yes i did setup Gateway IP Address and DNS1 as my router address.

I have only one hard drive attache it.

Cheers
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on September 22, 2008, 10:00:40 PM
anybody???
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: ECF on September 30, 2008, 01:14:42 PM
Are you able to access the FTP server locally on your network? Also can you telnet port 21 on your router when just the FTP on the DNS-323 is activated. Please disable you FTP server on your PC when  testing.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on October 02, 2008, 09:16:25 PM
Hi ECF

Are you able to access the FTP server locally on your network?
-> Yes i am able to access the FTP server locally on my network

Also can you telnet port 21 on your router when just the FTP on the DNS-323 is activated.
-> i don't get it. please explain it more detail?

Please disable you FTP server on your PC when  testing.
-> i already diabled it
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on October 03, 2008, 05:56:23 AM
Also can you telnet port 21 on your router when just the FTP on the DNS-323 is activated.
-> i don't get it. please explain it more detail?

Can you connect to the DNS-323 using telnet on port 21

Either set your telnet client to port 21 or go to a command prompt and enter telnet <ip address of DNS-323> 21
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on October 06, 2008, 09:42:38 PM
Hi.

When i connect it by Secure CRT, it displays

220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 10 allowed.
220-Local time is now 20:35. Server port: 21.
220 You will be disconnected after 2 minutes of inactivity.

but Secure CRT didn't ask me User ID and Password.

any suggestion?

thank you.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on October 07, 2008, 05:56:31 AM
What security did you configure on the ftp server?
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on October 07, 2008, 06:16:02 AM
Hi fordem,

i created group first.

added user id with password in the group.

added the group with read/write permission.

cheers.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on October 07, 2008, 01:24:02 PM
Let me rephrase that question - what does your ftp access list show?
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: gokorean on October 07, 2008, 09:51:19 PM
Hi fordem,

it shows:

Path: Volume_1
User/Group: Administrator
R/W: check image

one more thing
i changed port number 210 instead of using 21
tried to connect from office by using FileZilla.
this time it looks like connecting. but i have another issue on both active and passive mode
here is the log from FileZilla

Status:   Connection established, waiting for welcome message...
Response:   220---------- Welcome to Pure-FTPd [TLS] ----------
Response:   220-You are user number 3 of 10 allowed.
Response:   220-Local time is now 07:43. Server port: 210.
Response:   220 You will be disconnected after 2 minutes of inactivity.
Command:   USER gokorean
Response:   331 User gokorean OK. Password required
Command:   PASS ******
Response:   230 OK. Current restricted directory is /
Status:   Connected
Status:   Retrieving directory listing...
Command:   PWD
Response:   257 "/" is your current location
Command:   TYPE I
Response:   200 TYPE is now 8-bit binary
Command:   PASV
Response:   227 Entering Passive Mode (1**,1**,*,*,1**,2*)
Status:   Server sent passive reply with unroutable address. Using server address instead.
Command:   LIST
Error:   Connection timed out
Error:   Failed to retrieve directory listing
 

cheers.
Title: Re: FTP problem on 2wire 2700HG-E wireless
Post by: fordem on October 08, 2008, 07:12:39 PM
First - I would strongly suggest that you stick with the standard ports until such time as you have the ftp server working the way you want it to - make the change to non-standard ports the final step.

Also - I could be wrong, but I don't think the DNS-323 supports passive ftp "out of the box", I believe you'll have to hack it to do that - the error message you're getting indicates that the ftp server responded to the PASV request with an "un-routable" (ie private ip address) which is causing the connection to fail.

BTW - I believe you deliberately obscured the "un-routable" address, possibly under the mistaken impression that to post might create an insecure situation - all you're doing is making things more difficult - it's called an "un-routable" address for a reason - you cannot create a route to it.