I was able to connect my private Ec2 instance to the internet through NAT instance. wget google.com was successful. But when I attached a NACL to my private subnet.I wasn't able to connect to the internet.Can anyone please tell me what is wrong with my NACL. 10.0.1.0/24 and 10.0.2.0/24 are CIDRs of public subnet(which has the NAT instance)
Also, when I add rule to accept all traffic from internet.It works. Is it correct practice to add this rule ?

