FTP doesn’t work if you try to configure it via the dashboard GUI. WD has accepted to me after I proved to them there is a bug in their code that prevents setting the external IP in the ftp configuration from dashboard. They had promised me it would show up in the “next firmware” but the most recent firmware just fixed the Heartbleed bug. So based on another thread where I saw you commented, I can tell that you are comfy in going into SSH session. There is a manual workaround for the FTP that involves modifying a file in SSH and technically it would void your warranty…but I don’t think WD has any right to say we will void the warranty for a customer fixing a broken ftp by themselves…nor can they ever know that you messed with the file if you backup the original file first and if ever in need of warranty, you can remove your modded file and put the original file back (remember to copy the backup copy using -p switch to preserve file permissions and timestamp)
As to the file itself that works around this bug, it is /etc/NAS_CFG/config.xml. Near the very end but not at the end, I’d say about 85-90% into the file, you can see the configs that are stored for FTP under the section. If you were to try to configure the FTP via the dashboard and put in a value for the external IP, which is a must for Passive FTP to allow proper NAT, you will see that while all other changes you make are saved into this file, the external IP value stays unchanged at 0.0.0.0. THAT IS the FTP bug that I referred to earlier. To fix it, you can manually edit that yourself in vi. In my case, I also needed to change the ftp port value because port 21 doesn’t work for me as my ISP, Verizon FiOS blocks all traffic on port 21. I had been using port 44 as my ftp port on a different ftp server (FileZilla server) on my computer for a year before I got this NAS, so I wanted to use the same port 44 so that my friends for whom I set up shares on NAS, can come in without altering any setting on their ftp clients. Unfortunately I found out, with WD tech support’s help, that their dashboard UI ONLY allows three possible port values - 21, 2121 and 9921. But once I found this XML file, I could set the port to 44 just as I wanted. However, it’s not as simple as that. The problem is when you reboot to allow the changed ftp settings in the XML to take effect, this file gets overwritten by a fresh one wiping out your changes. I discovered that during reboot, this config.xml gets copied over from /usr/local/config/config.xml. So in order to implement your workaround to get ftp working, you’ll have to modify the config.xml in /usr/local…which means you need to also backup the one in /usr/local first before changing anything (using cp - p) and not touch the one in /etc/NAS_CFG/. Once you’ve modded the external IP value (and port if needed) you can reboot and voila! Your modded ftp settings has now taken effect. You can just skip the dashboard ftp config for now until they fix that. Now, you should be able to ftp into the box as expected.
If this resolves your ftp issues, please mark this post as solution (I know it’s not the right solution…the right one should come from WD) and if you wouldn’t mind, please click on the star next to my username to give me a kudo
EDIT: The bug I pointed out affects only ftp from outside…internally within EX2’s network, ftp should work without problems or requiring any edits to the file mentioned above.