• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

FTP Passive Mode Problem

Status
Not open for further replies.

KamalG

Basic Pleskian
I am running Plesk 12
Centos 6.5

I have Plesk Firewall Installed.
After the Plesk Firewall was enabled the FTP Stopped working in passive Mode.

I searched the net and found the following :
Code:
 /etc/sysconfig/iptables-config and change the line with IPTABLES_MODULES to: IPTABLES_MODULES="ip_conntrack_ftp"
It started working.

I changed the default FTP port from proftpd.conf
Code:
port 2392

and /etc/services
Code:
ftp             2392/tcp
ftp             2392/udp          fsp fspd


I allowed the new port in Plesk Firewall in Incoming connection and disabled port 21

Now I am not able to connect to the ftp, I get the following error. Have I missed anything ?
Code:
Response:	257 "/" is the current directory
Command:	TYPE I
Response:	200 Type set to I
Command:	PASV
Response:	227 Entering Passive Mode (85,25,51,34,216,46).
Command:	MLSD
Error:	Connection timed out
Error:	Failed to retrieve directory listing
 
Last edited:
Sir, I went through the link

This line wasn't working
/sbin/modprobe ip_conntrack_ftp

but #modprobe ip_conntrack_ftp is
and it displays

FATAL: Module ip_conntrack_ftp not found.
 
As far as I remember name of ip_conntrack_ftp had been changed to nf_conntrack_ftp
 
Sir,

modprobe nf_conntrack_ftp
FATAL: Module nf_conntrack_ftp not found.

But I edited the file /etc/sysconfig/iptables-config and changed as below
IPTABLES_MODULES="nf_conntrack_ftp"

Now it's working
Also PassivePorts 57000 58000 in /etc/proftpd.conf was not necessary.

Thank you very much
 
Status
Not open for further replies.
Back
Top