When connecting using FTP (passive), you might get the message "Retrieving directory listing...". The FTP client tries to fetch the directory using passive FTP, however, the log hangs on "Retrieving directory listing...". In this article we will resolve this.
- Open /etc/proftpd.conf
- Add `PassivePorts 35000 37000` on a new row.
- Restart proftpd `service xinetd restart`
- Create a new rule in the firewall to allow incoming port 35000-37000 over TCP.