What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Cannot FTP QNAP NAS since upgrading to Asus DSL-N66U router

fingers88

New Around Here
I recently upgraded my ADSL router from a Netgear Router DG834Gv2 to an ASUS DSL-N66U running FW 1.0.6.7.
Everything looks to be fine, there were no changes made to the NAS (QNAP TS-210) settings.
I am pretty sure port forward is setup correctly on the router, however I can not access the NAS through FTP, using Filezilla client, via DynDNS. I say I am pretty sure the port forward is setup correctly as I can remote into the NAS on a different port.
When I try to connect via Filezilla I get the following:
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out
Error: Failed to retrieve directory listing

None of the routers USB functions are enabled.
I have tried disabling the Firewall without success.

If I swap the router round with the old Netgear I can FTP the NAS fine via DynDNS without problems, so I'm pretty sure the problem is with the router. Maybe I am missing some setting the Asus has which the Netgear doesn't.

My knowledge if IT and netwroks is basic. I think I've explained everything as best I could so I hope I can get some help. Any further questions please let me know.
 
Does the DSL n66u have an FTP server builtin to the firmware?

If it does, you have to use an alternate FTP port in your "port range".

So go to port forwarding on DSL n66u.......here's an example

Service name: FTP-alt
Port range: 49163
Local IP: 192.168.1.2 (or whatever IP address you use)
Local port: 21

Now try accessing your home network via FTP using port 49163 instead of port 21.

If the DSL n66u doesn't have a builtin FTP server, then disregard my post.
 
That'll also work.

I try to run them on the same ports so I don't forget about those alternative ports later.
 
Does the DSL n66u have an FTP server builtin to the firmware?

If it does, you have to use an alternate FTP port in your "port range".

So go to port forwarding on DSL n66u.......here's an example

Service name: FTP-alt
Port range: 49163
Local IP: 192.168.1.2 (or whatever IP address you use)
Local port: 21

Now try accessing your home network via FTP using port 49163 instead of port 21.

If the DSL n66u doesn't have a builtin FTP server, then disregard my post.


Thanks for the reply jlake

OK let me get this right, I did say my knowledge is basic.
Nothing needs to be changed on the NAS.
On the router the port range I have used your example 49163 for the port range, Local IP for the NAS no change and local port keep as 21?

On Filezilla type in the DYNDNS address, username and password, and the port 49163?

If that's what I understand to be what you are telling me then still no joy. I get the same error message. Maybe I did something wrong.
 
Thanks for the reply jlake

OK let me get this right, I did say my knowledge is basic.
Nothing needs to be changed on the NAS.
On the router the port range I have used your example 49163 for the port range, Local IP for the NAS no change and local port keep as 21?

On Filezilla type in the DYNDNS address, username and password, and the port 49163?

If that's what I understand to be what you are telling me then still no joy. I get the same error message. Maybe I did something wrong.

Yeah, I'm not sure why you're having problems. Those are the settings that I used when using an alternate FTP server. Try doing what Kris404 suggested instead.

I assume you're doing your testing at your neighbors house or a Starbucks/mcdonalds.
 
According to the specs page here: http://www.asus.com/Networking/DSLN66U/#specifications

it does have FTP built-in so the port 21 is most likely reserved for the built-in FTP server.

Use an alternative port for the QNAP FTP server and try forwarding that port.

This is what I have tried, on the QNAP NAS I have changed the port to 45231.
Then the router, I have the port range as 45231, IP of the NAS, and the local port as 45231.

I get the same error message:
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out
Error: Failed to retrieve directory listing


When tested it via ftptest.net, I get the impression I can sort of log on but I still get the following:

Error: Server returned unroutable private IP address in PASV reply
Make sure the server is configured to allow passive mode connections.
If the server is behind a NAT router, make sure the server knows its
external IP address.
The range of ports used for passive mode must be opened in all involved
firewalls.
The range of ports used for passive mode must be forwarded by all
involved NAT routers.
Try uninstalling all firewalls and plug your computer directly into your
modem, thus bypassing the router.

I have no idea what they mean about passive mode, in saying that, the NAS is set as default port range for passive mode (this is the default setting).
Can't see any passive setting on the router.
I don't think the NAS is behind a NAT (I have no idea what they mean anyway)
I've tested it by disabling the firewall - still no luck
The router has a built in modem so no chance of that

Any other clues?
 
Sounds like a sticky situation. I would like to know if you have tried to contact QNAP technical support? Even if the NAS is not the problem, they encounter many different issues each day and my have some great advice for you. Also, if there is something that can be changed within our equipment or via a software or app feature that can be added to make your user experience easier, we are always looking for ways to improve. You can email your issue via QNAP.com or call 909-595-2782.
 
fingers88-

Passive mode for FTP purposes basically means those ports need to be opened as well on the router for communication ports.

I know when I use FZS it uses passive ports as well and I have to forward those along with the standard FTP ports.
 
@ Tonica for the suggestion. I understand what you mean but I can't see how the NAS can be the issue, like I said earlier if I swap the router around it works fine.

@Techno, I think I understand what you mean. I may play around with the passive ports later. The only thing that concerns me is opening more ports than I need to.

I've been in touch with Asus and they have suggested I add the static LAN IP address to DMZ. I had a quick read to what DMZ is and I started to fall asleep after the first paragraph. I did however try their suggestion and it's working now. I am however worried that my NAS maybe more vulnerable because it seems like all the ports are now open, or am I being overly worried?
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top