How to open Passive ports in pureftp

Post Reply
gautham
Posts: 14
Joined: Sun Jul 01, 2012 10:32 am

How to open Passive ports in pureftp

Post by gautham »

Open the FTP conf file and add the port
vi /etc/pure-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"
Gautham G
WebhostingDevelopment.com
Post Reply

Return to “Pure FTP”