I have set up the My Cloud EX2 Ultra to be accessible via FTP as per the documentation, and have ‘Report external IP in PASV mode’ enabled, and have confirmed the IP address entered. In Passive Mode, it is configured to use the default port range of 55536 - 55663.
Port Forwarding on the EX2 is configured:
I have configured Port Forwarding on my router to match the above:
When trying to access the FTP folders from a machine outside of my local network, I can access the server, and change to the relevant fileshare, but when running ls
or dir
, the connection hangs for a long time and eventually disconnects:
I have tried disabling the router firewall and setting the DMZ to point to the EX2, with no difference in the results.
The Share on the EX2 has been configured so that all authenticated users have read/write access, and Anonymous Read / Write has also been enabled for testing purposes.
Log file when attempting to connect from FileZilla (note that this tries to list the root directory before giving the option to change directory):
2022-01-20 05:40:23 5820 1 Status: Connection established, waiting for welcome message…
2022-01-20 05:40:24 5820 1 Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
2022-01-20 05:40:24 5820 1 Response: 220-You are user number 2 of 10 allowed.
2022-01-20 05:40:24 5820 1 Response: 220-Local time is now 08:40. Server port: 21.
2022-01-20 05:40:24 5820 1 Response: 220-IPv6 connections are also welcome on this server.
2022-01-20 05:40:24 5820 1 Response: 220 You will be disconnected after 10 minutes of inactivity.
2022-01-20 05:40:24 5820 1 Command: AUTH TLS
2022-01-20 05:40:24 5820 1 Response: 234 AUTH TLS OK.
2022-01-20 05:40:24 5820 1 Status: Initializing TLS…
2022-01-20 05:40:25 5820 1 Status: Verifying certificate…
2022-01-20 05:40:25 5820 1 Status: TLS connection established.
2022-01-20 05:40:25 5820 1 Command: USER xxxxxxxx
2022-01-20 05:40:25 5820 1 Response: 331 User xxxxxxxxx OK. Password required
2022-01-20 05:40:25 5820 1 Command: PASS ********
2022-01-20 05:40:25 5820 1 Response: 230 OK. Current restricted directory is /
2022-01-20 05:40:25 5820 1 Status: Server does not support non-ASCII characters.
2022-01-20 05:40:25 5820 1 Command: PBSZ 0
2022-01-20 05:40:25 5820 1 Response: 200 PBSZ=0
2022-01-20 05:40:25 5820 1 Command: PROT P
2022-01-20 05:40:26 5820 1 Response: 200 Data protection level set to “private”
2022-01-20 05:40:26 5820 1 Status: Logged in
2022-01-20 05:40:26 5820 1 Status: Retrieving directory listing…
2022-01-20 05:40:26 5820 1 Command: PWD
2022-01-20 05:40:26 5820 1 Response: 257 “/” is your current location
2022-01-20 05:40:26 5820 1 Command: TYPE I
2022-01-20 05:40:26 5820 1 Response: 200 TYPE is now 8-bit binary
2022-01-20 05:40:26 5820 1 Command: PASV
2022-01-20 05:40:27 5820 1 Response: 227 Entering Passive Mode (2,31,91,198,217,43)
2022-01-20 05:40:27 5820 1 Command: MLSD
2022-01-20 05:40:47 5820 1 Error: Connection timed out after 20 seconds of inactivity
2022-01-20 05:40:47 5820 1 Error: Failed to retrieve directory listing