Page 1 of 1

How to open Passive ports in proftp

Posted: Thu Sep 06, 2012 11:03 am
by a24uall
Open the FTP conf file and add the port
vi /etc/pro-ftpd.conf
PassivePortRange 30000 35000
Now enable the same set of ports in firewall.
CSF
vi /etc/csf/csf.conf
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,30000:35000"
APF
vi /etc/apf/conf.apf
IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096,10000,30000_35000,8443,8447,5224,8880"