Enable Passive FTP in ISPConfig
To enable Passive FTP in Debian/Ubuntu installation of ISPConfig, run
1 |
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange |
Restart pure-ftpd
1 |
service pure-ftpd-mysql restart |
Now open ports 40110-40210 in firewall.
On CSF Firewall, edit
1 |
vi /etc/csf/csf.conf |
Add
1 |
40110:40210 |
At ened of TCP_IN line.
Example
1 |
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,3333,8080,8090,19999,40110:40210" |
if you are using AWS, you need to run
1 2 |
echo "YOUR_EXTERNAL_IP_ADDR" > /etc/pure-ftpd/conf/ForcePassiveIP service pure-ftpd-mysql restart |
See ispconfig