Using Filezillla and WINSCP, FTP authentication works but fails to list the directory contents and sometimes even fails to connect on FTP/SSH unless I whitelist the user's public IP manually in firewall. It is not possible to manually whitelist IPs of users every time they want to use FTP/SSH. How to solve this issue?
I have manually configured ports number for SSH(2349) and FTP (2248)
I tried editing /etc/pure-ftpd/pure-ftpd.conf
putting my public IP to ForcePassiveIP
also assigned PassivePortRange as 2248 35000
But nothing worked
Sample Log of Filezilla / WinSCP
Status: Resolving address of siteseas.com
Status: Connecting to 34.93.250.119:2248...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Resolving address of siteseas.com
Status: Connecting to 34.93.250.119:2248...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Error: Connection attempt interrupted by user
Status: Disconnected from server
Status: Resolving address of siteseas.com
Status: Connecting to 34.93.250.119:2248...
Status: Connection established, waiting for welcome message...
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Resolving address of siteseas.com
Status: Connecting to 34.93.250.119:2248...
Status: Connection established, waiting for welcome message...
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing