I have created a vpc, and created two subnets one is public subnet(attached to internet gateway) and another is private subnet. I am able to access private subnet from public subnet. My question is how the traffic goes out from private subnet to public subnet? The private subnet is associated with main route table. And it has only route to local.
If possible can you please met me know how the traffic goes in route tables(in bound and out bound)?


