AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

cannot ssh an ec2 from another in different subnets and different NACLS

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

Raul Alonso Martinez

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

Ahmar Siddiqui

Yeah I had the same issue until I had to add ephemeral ports on both inbound and outbound.

Jeffrey

Adding the ephemeral ports worked for me, too.

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?