Knowledgebase: Support
Dedicated - Xen - Passive FTP Issues Logging In
Posted by Darin S on 09 December 2013 05:05 PM

If you are getting an error where you can't connect to ftp:

Command: PASV
Error: Connection timed out
Error: Failed to retrieve directory listing

This is most likely caused by SolusVM adding the following line to /etc/sysconfig/iptables-config:

IPTABLES_MODULES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp ipt_owner ipt_REDIRECT"

To fix the problem, simply replace the line above with:


Don't forget to restart iptables once you have saved your file:

Comments (0)