I currently have my UCSC hub over a ftp sever of my workstation, but now I want to host this hub on a EC2 server. The problem is that I can't allow the anonymous access to the EC2 ftp server.
Here is my current vsftpd.conf:
listen=YES local_enable=NO anonymous_enable=YES write_enable=NO anon_root=/var/ftp pasv_min_port=14000 #Allowed on my security group pasv_max_port=14050 pasv_enable=YES port_enable=YES download_enable=YES pasv_address=$MY.ELASTIC.IP listen_port=21 no_anon_password=YES
My current iptables state is:
$iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED
When I try to access through FileZilla, this error appears:
Status: Connecting to $MY.ELASTIC.IP... Status: Connection established, waiting for welcome message... Response: 220 (vsFTPd 3.0.2) Command: USER anonymous Response: 230 Login successful. Command: OPTS UTF8 ON Response: 200 Always in UTF8 mode. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" Command: TYPE I Response: 200 Switching to Binary mode. Command: PASV Error: Connection closed by server Error: Failed to retrieve directory listing
I don't have too much experience with ftp servers and I don't even know if allowing anonymous access to the ftp is necessary make my hub readable by the UCSC server. So anything you know about this may be useful to me.
Thanks for your time!