Go Back   Cloud Computing > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-11, 21:25
BOD Member
 
Join Date: Jun 2010
Posts: 175
Default Enabling passive FTP

Enabling passive FTP


It is always recommended to enable passive mode for FTP if we are using Pureftp/Proftp with a CSF firewall because we might face problems like unresponsive ftp server or it just gets stuck or it amy even stop listing the directories. In order to avoid all such things we just need to execute the following commands on our server.
Open the Pure-FTPd configuration file by executing following command

vi /etc/pure-ftpd.conf

Then uncomment the following line
PassivePortRange 30000 35000

Restart Pure-FTPd
service pure-ftpd restart

Then edit CSF firewall's configuration file by executing following command
# vi /etc/csf/csf.conf

Once it is done and add the ports as below.
# Allow incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,30000:35000″


Finally restart csf and ftp services
# service csf restart
OR
# csf -r
# service pureftpd restart

__________________
Carol.P
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 23:54.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.