Monday, March 10, 2008

Pure FTP timeouts

Error ::
425 Could not open data connection to port 1222: Connection timed out
FIX
Add the ports in pure-ftpd.conf and conf.apf
nano /etc/pure-ftpd.conf
Uncomment and add the port range 30000 50000
PassivePortRange 30000 50000
/etc/init.d/pure-ftpd restart
nano /etc/apf/conf.apf
Add tcp port : 50000_51000
# Common ingress (inbound) TCP ports
IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,161,443,465,623,993,995,2082,2083,2086,2087,2095,2096,3306,3389,6666,8021,50000_51000"
/etc/init.d/apf restart

No comments: