Enableing passive mode in FTP server with CSF firewall | MyLiteratureTechLife.COM

Enableing passive mode in FTP server with CSF firewall

January 11th, 2010 0 Comments






















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

PassivePortRange    30000 35000

ii) For pro FTP

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

PassivePorts    30000 35000

iii) Now add these ports in CSF config

Open /etc/csf/csf.conf

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,30000:35000"

iv) restart csf and ftp

service csf restart
service pureftpd restart (or)
service proftpd restart

Now you will not get error while connecting to ftp

Related posts:

  1. How to enable Passive ftp in Pure FTPD
  2. The requested URL /cpanel was not found on this server
  3. Installing RED5 server in CentOS 5.x
  4. Setup and Secure Plesk Server
  5. Changing mail server ip in cpanel
  6. How to catch spammer or Scammer in Cpanel server?
 

If You Like This Post, Share it With Your Friends & Peers

Digg
stumbleupon
Delicious
facebook
twitter
reddit
rss feed bookmar
 

No Comment to “Enableing passive mode in FTP server with CSF firewall”

  1. No Comment yet. Be the first to comment...

Leave your comment here:

*

Alexa Rank