Passive FTP (PASV) - Error
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Daniel
  2. Thursday, 22 March 2012
  3.  Subscribe via email
I have problems with access to the FTP Passive mode. The problem happened after I converted my CentOS to CloudLinux.
The connection is made, but does not list folders, creates, deletes, etc ...
Strangely, for some users the connection works perfectly!
Everything was working before migrating to the CloudLinux. CSF already have my firewall ports specified in the configuration file of the Pure-FTP.

Some information:

#uname -a
Linux something.tld 2.6.18-374.18.1.el5.lve0.8.57xen #1 SMP Fri Mar 2 13:02:05 EST 2012 i686 i686 i386 GNU/Linux

#lsmod|grep lve
lve 30884 2

FTP Client tested:
FileZilla 3.5.3

Could anyone help me?
More: already opened a support ticket and could not help me.

** Sorry for my english, I\'m using Google Translator ;) **
Rate this post:
  1. 09.04.2012 16:04:14
  2. # 1
Rodrigo Accepted Answer
Posts: 1
Joined: 09.04.2012
0
Votes
Undo
Hello,

I have exactly the same issue. Can someone help us?

Thanks,

Rodrigo
  1. 11.04.2012 20:04:34
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1194
Joined: 09.02.2010
0
Votes
Undo
Are you using SolusVM? I think so far everyone who had this problem was using SolusVM, and we are yet to find solution :(
  1. 01.05.2012 19:05:17
  2. # 3
Griya Hosting Accepted Answer
Posts: 14
Joined: 18.12.2010
0
Votes
Undo
If you using solusvm as control panel and use XEN Para as virtualize,
you can try to edit file on node server:
/usr/local/solusvm/tmp/extras/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 ipt_owner ipt_REDIRECT\"

Hope can help you,

Regards
  1. 18.05.2012 07:05:15
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1194
Joined: 09.02.2010
0
Votes
Undo
We finally were able to figure out what happens. On Xen node, SolusVM adds
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\"

into /etc/sysconfig/iptables-config

This line is needed only for openvz servers, not for xen servers. For xen servers line should look like this:
IPTABLES_MODULES=\"ip_conntrack_netbios_ns\"

Restarting iptables after that should fix the issue.
Also, it is enough to just remove ip_nat_ftp from that config line (and restart iptables) to make it working again.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.