Suppose we have a basic architecture, where we have VPC with two subnets(One private and one public). The private subnet is connected to internet with a NAT gateway residing in Public Subnet.(As shown in below image)
Now suppose we implement a Network ACL in public subnet. Would it be wise to deny some ports in it?
The reason I am asking is because I learned that NAT works using Port Numbers to connect many Private IP to Single public IP(Elastic Ip in our case, which is attached to NAT), So wouldn't the NACL create problem.
Here is what I learned about how Nat Functions - https://www.youtube.com/watch?v=01ajHxPLxAw