Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-15-2008, 03:51 PM   #1
Registered: Jul 2008
Posts: 38

Rep: Reputation: 15
Installed CSF and FTP Got blocked...

OS: CentOS 5 (command line, no WHM or CPanel)
FTP Service: ProFTPd
Port 24
Client: SmartFTP

TCP_IN = "24,80,2200"
TCP_OUT = "20,21,22,25,37,43,53,80,443"
UDP_IN = ""
UDP_OUT = "20,21,53,113,123"
FTP Log:
[14:21:01] 257 "/" is the current directory
[14:21:01] CWD /html
[14:21:02] 250 CWD command successful
[14:21:02] PWD
[14:21:02] 257 "/html" is the current directory
[14:21:02] TYPE A
[14:21:03] 200 Type set to A
[14:21:03] PASV
[14:21:03] 227 Entering Passive Mode (67.*,*,*,225,213).
[14:21:03] Opening data connection to 67.*.*.*Port: 57813 < port changes
[14:21:03] LIST -aL
[14:21:24] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
the only thing I can think of is that the FTP connection keep getting opened on a random port, but I'm not sure how to fix that....
Old 08-15-2008, 08:29 PM   #2
LQ Newbie
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
There is a setting on /etc/protftpd.conf called PassivePorts set it up like this :

PassivePorts 10000 10100

And enable this range of ports in your CSF and your passive FTP connection should go fine .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod recent blocked related question (netfilter). WHO IS BLOCKED CarLost Linux - Security 6 07-29-2008 03:53 PM
plesk and csf I_AM Linux - General 1 06-28-2008 11:32 AM
Blocked FTP port 21, Why? immortaltechnique Linux - Networking 6 07-11-2007 01:57 AM
FTP port blocked on Debian (sarge) thatguy0 Linux - Software 12 02-22-2007 01:27 PM
All ports blocked, but iptables not installed jdupre Linux - Networking 3 11-02-2004 04:47 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration