SOLVED Pure-FTPD Timeout on Amazon EC2 instance

dstana

Well-Known Member
Jul 6, 2016
117
20
68
Phoenix, AZ
cPanel Access Level
Root Administrator
One of our servers is an EC2 instance hosted on AWS. For some reason, pure-ftpd connections do not work. Logins are successful but upon trying to retrieve the directory listing it hits a timeout every time.

Firewalld is configured to allow passive mode. Even with the firewall off it is still an issue. And I've verified that:

ForcePassiveIP: xxx.xxx.xxx.xxx
Is set in /var/cpanel/conf/pureftpd/main

What else should I look for?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello @dstana,

Did you add the passive port range to the Security Group settings in the EC2 dashboard? A link to the Security Group settings is found under the instance "Description" tab.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
This was a firewall issue, but with the VPC firewall. Opening ports 49152 through 65534 in the VPC resolved this issue.
Thanks for sharing the outcome!

Do you mind sharing the step-by-step instructions of what you did in-case someone else faces a similar issue?