
Zakyeld
I’m not able to ssh an ec2 instance in a private subnet from another ec2 instance in a public subnet with different NACL although ssh was enabled in both NACLS.
the destination ec2 (private subnet) NACL has all traffic allowed
the source ec2 (public subnet) has ssh enabled both inbound and outbound
I had the same case, for me it worked to allow ephemeral ports also for inbound on the source NACL (public subnet) appareantly port 22 wasnt enoughh
Yeah I had the same issue until I had to add ephemeral ports on both inbound and outbound.
Adding the ephemeral ports worked for me, too.