- Mais recentes
- Mais votos
- Mais comentários
If you are using a self-managed FTP server running on EC2, then AWS won't control the permissions. You will have to rather use the documentation of the FTP server to debug. As you rightly mentioned, you will need to ensure all ports required by the FTP server are allowed in the security group of the EC2.
There is an alternative that I can propose. A fully managed FTP service by AWS. Have you looked at AWS Transfer Family - https://aws.amazon.com/aws-transfer-family/
There is a tutorial https://docs.aws.amazon.com/transfer/latest/userguide/getting-started.html that can help you get started.
If you like my answer, please upvote and accept it. Thanks
I solved the issue. It seems the problem was with the firewall. In CentOS 7, to solve this firewall issue first I need to find the zone. Find your zone:
# firewall-cmd --get-active-zones
public
interfaces: eth0
My zone is 'public', so I set my zone to public, add the port range configured on the vsftp.conf file, and after that just reload:
# firewall-cmd --permanent --zone=public --add-port=1024-1048/tcp
# firewall-cmd --reload
Restarted the vsftp service and it worked.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 3 meses