Share via

Setup vsftp on Linux VM

Robert Grimes 1 Reputation point
2021-10-21T18:30:51.557+00:00

I am using Linux VM with vsftp to have user app pull a text file. The app can log in, change to correct folder. When the retrieval is done, an error comes back "invalid pasv_address". I have added changes to the config file as suggested by various people, opened the ports in VM and using iptables on the inside so access should not be an issue.

The conf file entries that are different than defaults:

connect_from_port_20=YES
pasv_address=public_ip_of_aws_instance_not_hostname_or_private_ip
pasv_enable=YES
pasv_min_port=10000
pasv_max_port=10010
log_ftp_protocol=YES
listen_ipv6=NO
listen=YES

Where do I go from here to solve the problem?

Community Center | Not monitored

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.