To enable Passive FTP in Debian/Ubuntu installation of ISPConfig, run
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
Restart pure-ftpd
service pure-ftpd-mysql restart
Now open ports 40110-40210 in firewall.
On CSF Firewall, edit
vi /etc/csf/csf.conf
Add
40110:40210
At ened of TCP_IN line.
Example
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
echo "YOUR_EXTERNAL_IP_ADDR" > /etc/pure-ftpd/conf/ForcePassiveIP service pure-ftpd-mysql restart
See ispconfig
Leave a Reply