I just installed vsftpd according to these directions.

I am trying to get ftp working on my Ubuntu box that is using Amazon AWS. When I first tried this directions, it did not work. I was trying to connect via FileZilla and Winscp from my windows machine to my Ubuntu server.

When it failed, I tried adding these options to my /etc/vsftpd.conf file. Specifically:

pasv_addr_resolve=YES <or> NO

This did not help. Finally, what did work was switching winSCP into "Active Mode". My question is: What do those different parameters mean? I am assuming that in is to enable passive mode, and to help guide the ports used for passive mode, but I am not sure what port_enable pasv_address and pasv_addr_resolve do.

Also, now that I am using active mode, do I need to have any of those entries? Thank you


There is (obviously) manual page for vsftpd.conf, which is always a good place to start.

TLDR version: They should be needed only for passive mode of FTP.


Set to NO if you want to disallow the PASV method of obtaining a data connection.

Default: YES


Use this option to override the IP address that vsftpd will advertise in response to the PASV command. Provide a numeric IP address, unless pasv_addr_resolve is enabled, in which case you can provide a hostname which will be DNS resolved for you at startup.

Default: (none - the address is taken from the incoming connected socket)


Set to YES if you want to use a hostname (as opposed to IP address) in the pasv_address option.

Default: NO

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.