Hi, it often happens, that some IPs from other countries want to connect to my WDMB via FTP (Bot's who looking for new anonymous FTP space?). But this wakes up my NAS from Standbymode. Is it possible, to change something, that a connection attemps with a wrong user or anonymous wont spinup my NAS? Moving vsftp log to RAM?
Changing the ftp port to non-default one would probably at least reduce the amount, since fewer attackers actually take time to scan for other open ports than the usual default service ports for ftp, ssh etc.
Most people would probably advice against opening up ftp to internet in the first place but that's another story…
But i "need" to open my FTP to outside. Had changed the port to 8888 in the past, but after that, a connection wasn't possible from outside. Inside the LAN there was no problems.
when you changed it, did you make sure to put 8888 through the firewall?
You might find you need to enable (or is it disable?!) Passive FTP in order to get this working. I forget the details right now, but 'normal' FTP uses the specified port for establishing the control channel, and then uses a port above 1024 (the port number being chosen at the time of establishing connection) in order to do actual data transfers (including directory listings). Dis/enabling passive FTP controls which end of the communication gets to choose which port to use.
You need to
(a) forward ports 5000 to 5099 to the drive's ip from the router, not just 8888 to 21
(b) edit the ftp configuration file located in /etc/vsftpd.conf