I'm having an issue whereby I'm not able to ftps to another server from my EC2. If I run a simple command
lftp username:password@serverurl:2121
then proceed to ls, I will be stuck at ls
at 0 [Connecting...]
The same command works fine from a local macbook or using Filezilla client to connect. Previously it was working fine until WAF and ALB is added on top of this EC2.
Things I have tried:
- I have tried setting passive mode to on for the ftp. 2)Changing the security group of ALB and EC2 to accept all inbound and outbound traffic.
- Internet gateway is attached to the route tables.
- Pinging the DNS does resolve and show the server's IP.
- Added their IP into WAF whitelisting
Thanks!