• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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