Many user reported that they have problems access their file through FTP from external network. So here is my procedures to get that done.
Below is my configuration:
– DS207+, firmware version: DSM 2.1-0839
– Linksys Broadband Router
– FileZilla version 18.104.22.168
The procedures should working for all other model as well.
1. Login to DS207+ web admin console
2. Network Service > FTP >
2.1 Port number setting of FTP service: any port other than 21, e.g. 5555
2.2 Enable FTP service
2.3 Port range of Passive FTP: Use the default port range (55536-55663)
2.4 Disable Anonymous FTP
2.5 Allow SSL/TLS connection only
2.6 Enable IP Auto Block
2.7 Feel free to modify the other setting
The setting above also try to avoid those automated FTP robots which attempted to login to your box.
Configure Linksys Broadband
From Application Gaming Menu, forward all the ftp port to the DS207+
For Active Port – Your FTP Port (e.g. 5555) , Protocol TCP
For Passive Port – 55536-56559 , Protocol TCP
For some reason, sometimes I experienced connection issues if I follow the same NAS passive port setting (55536-55663) in the router setup. Once I enlarge the range from 55663 to 56559 in the router setup, the connection issues is fixed.
Update: Jan 22, 2010
For firmware 2.2 user, a firewall rule is required for external access of the ftp server.
Network Services > Firewall > Click ‘Create’ button
Ports > Check ‘Custom’ radio button > Click ‘Custom’ button
To add a new custom port:
Ports: Type: Destination Port
Source IP: ALL (or any other permitted IP address)
Action : Access : Allow
Repeat the steps above for the range of the passive ports
Host: Your 207+ external IP or domain name (DDNS works as well)
Port: Your FTP port, e.g. 5555
Servertype: FTPES – FTP over explicit TLS/SSL
User: your ftp user name
Password: your ftp password
Leave the rest as default.