NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
stuartmp
Jul 20, 2016Aspirant
Setting up FTP server on ReadyNAS OS6
We have set up an ftp server on our PC using FileZilla that successfully receives log files from our sites around the country. The clients at the sites, send the data themselves to our external IP, they are port forwarded to our PC where FileZilla recognises which group/user they are (info also entered in at the client end) and places their logs into their associated folders.
These logs are not very important information so security is not a primary concern for us.
As the data does not need to be accessed often, we would like to alternatively set up our ftp clients to send their logs to the ReadyNAS we recently had set up in our office, and I have attempted to do this, but with limited success. I have followed the logical steps to emulate what we did to set up the FileZilla ftp, but I've yet to get the ReadyNAS working with this.
We have changed the port forwarding on the router from the previously successful forwarding to our PC, to the readyNAS. The ports 20-21 on the router are forwarded to 20-21 on the readyNAS, and ports 11,000-12,000 (ports previously successfully used with FileZilla) are forwarded to 32768 - 33768 (default ports on ReadyNAS ftp options, which will not allow me to change to 11,000-12,000 so that is why the ports 11,000-12,000 are forwarded to 32768-33,768).
I have created users on the system which match those sending out the data at our sites e.g user: "site1", password: "password001", which match up to the clients sending them out and have given these users the access (file and network) priveledges to the equivalent folders in the ReadyNAS, yet despite this I cannot get the ftp data to be received successfully. I have tried both "anonymous" and "user" mode.
Here are screenshots of the settings that I am currently using:
Client Settings:
Port Forwarding:
NAS ftp Settings:
I hope you can help us with our problems and working out why the files are not being transferred.
StephenB wrote:
stuartmp wrote:Does such a thing exist on the readyNAS system?
I believe not, but I agree it would be useful.
Ah thankyou, I will close the request for now although I haven't been able to set my clients up correctly, I am just going to run FileZilla and directly enter the files in now.
Thankyou Stephen.B, sotrack and Hopchen for your help.
15 Replies
Replies have been turned off for this discussion
- sotrackLuminary
Hi stuartmp
1. you don't need port forwarding for UDP protocol
2. you don't need forward port 20. Port 21 is enough
3. NAS FTP settings: put passive ports 32768 - 33768. 65535 is not correct value for router passive port range.
4. Router: put passive port range 32768 - 33768 instead of 11000 - 12000.
- HopchenProdigy
Just as an additional note.
You should select the mount of passive ports, based on how many connections you expect at a given time. One passive port per connection. So if 10 people need to connect at the same time, then use 10 passive ports. If it is only you using it, then one passive port is enough - as sotrack explained.
- StephenBGuru - Experienced User
Hopchen wrote:
Just as an additional note.
You should select the mount of passive ports, based on how many connections you expect at a given time. One passive port per connection. So if 10 people need to connect at the same time, then use 10 passive ports. If it is only you using it, then one passive port is enough - as sotrack explained.
This depends to some degree on client configuration - some clients can do multiple transfers. I generally allocate 4 ports per connected client.
Also, it is best to use ports in the range 49152-65535 (this is the range allocated for user custom ports by IANA).
NAT translation of the port numbers (e.g., 11000->32768) fails because the FTP server protocol sends the passive port number on the control port (port 21). So you can't map to a different port number in the router.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!