Enableing passive mode in FTP server with CSF firewall

Passive mode is always very important for ftp servers, if you are running csf firewall and cannot connect to ftp server then it means that range of passive ports is blocked in firewall. Here are simple steps

1) Add Passive Port range 30000-350000 to your Pureftp or Proftp configuration file

i) For Pure FTP

open /etc/pure-ftpd.conf, and this line

ii) For pro FTP

Open /etc/proftpd.conf, and add this line

iii) Now add these ports in CSF config

Open /etc/csf/csf.conf

iv) restart csf and ftp

Now you will not get error while connecting to ftp

Please follow and like us:
RSS20
Follow by Email
Facebook
Google+
http://techat.net/enableing-passive-mode-in-ftp-server-with-csf-firewall/
Twitter

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.

*

*

Previous Post:
Next Post: