I have installed vsftpd on a Ubuntu server on AWS however I can not access it via its Elastic IP. If I ssh to the server, I can then ftp to it using its internal IP, but I can't ftp using its public IP. What am I doing wrong?
As far as I can recall, the only change I made to vsftp.conf
was to uncomment local_enable=YES
.
The FTP server is in a VPC. The default network ACL's are in place, and I have opened up TCP ports 20-22 to traffic from anywhere.
When I run ftp 13.my.ip.address
it simply says the connection timed out.
Can you check below:
Is it enabled in any wrapper file(host allow/deny or userlist_file in conf) some config parameters are below.
userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd.allowed_users
Hope this will help.
I believe the default security group only has 22, 80 and 443 open, so you will need to open 21 if you haven't already.