Question
In AWS, for VPC NACLs (Network Access Control Lists), if you add inbound rules to account for a web server, for example, you should have an outbound rule for ephemeral ports 1024 to 65535. Why is this/what are ephemeral ports?
Answer
They are temporary ports that are used for response communication on servers, so client connects on well known port 80, for ex, but server assign a temp ephemeral port to continue the communication on for the length of the communication.