![]() ![]() Now you can able to connect the FTP client without any issue. usr/local/cpanel/scripts/setupftpserver proftpd –force MasqueradeAddress your FTP server’s public IP addressĤ) Add the ports in the server firewall using the below commands.ĥ) Restart the FTP server to enable the changes.Ħ) To enable the changes permanently you need to add the port in the configuration fileĮcho “PassivePorts: 49152 65534” > /var/cpanel/conf/proftpd/main usr/local/cpanel/scripts/setupftpserver pure-ftpd –forceĮnable the passive port range for ProFTPdġ) To add the passive ports, just add the below line in the /etc/nf configuration file.Ģ) If the FTP server is behind a network address translation server you need to add the below lines in the configuration file. # iptables -I INPUT 2 -p tcp –dport 49152:65534 -j ACCEPTħ) Restart FTP service using the below commandĨ) To make the change permanent you need to add the port numbers in pureftpd configuration file.Įcho “PassivePortRange: 49152 65534” > /var/cpanel/conf/pureftpd/main I am able to log on to the system using FileZilla, but. ![]() ![]() To enable passive post in Pure-FTPd you need to follow below steps.Ģ) Open /etc/nf file and remove the # symbol before PassivePortRange option.ģ) Add the PassivePortRange option to a port range that is greater than or equal to 1024.Ĥ) If the FTP server is behind a network address translation server you need to add the below lines in the configuration file.įorcePassiveIP your FTP server’s public IP addressĦ) Open the ports using the below command. I configure window firewall on window 2003 enterprise to open port for FTP on port 21 both TCP and UDP. This process is most effective because most firewalls allow inbound traffic from sessions initiated by the client. In the case of passive mode FTP, the client will initiate a connection to the server. That is, we need to open that port in the server to work the FTP. When I connect to my server(Synology CS407) it failes retrieve the directory list. Fix cPanel FTP Failed to retrieve Directory Listing Errorįailed to retrieve Directory Listing error is most probably occurred due to the passive ports are not opened on the cPanel server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |