Allow Passive FTP in Cpanel Server with CSF

To enable Passive FTP in Cpanel Server running CSF firewall, check the passive ports used in /etc/pure-ftpd.conf

As you can see pureFTPd use ports 49152 to 65534 for data transfer when in passive mode. You need to open these ports in CSF firewall.

Edit csf.conf

Find line start with

Add ports ,49152:65534.

Here is what i have on a Cpanel server

Restart csf firewall with

See csf