How to open Passive ports in proftp

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

How to open Passive ports in proftp

Post 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"
Arun
WebhostingDevelopment.com
Post Reply

Return to “Pro FTP”