Network ACLs Flashcards
What does NACL stand for?
Network Access Control List
What are the default settings for the default NACL that comes with your VPC?
Allow all inbound and outbound traffic
What are the default settings for a custom NACL?
Deny all inbound and outbound traffic until you add rules
Do you have to associate a subnet with a NACL?
Yes
If you dont choose one, if associates with the default VPC
Can you block IP addresses using NACLs?
Yes
Can you associate a subnet with more than one NACL?
No
(When you associate a subnet with a new NACL, the old association is removed)
Suppose the custom NACL associated with my subnet has inbound rules:
- Rule 100 DENY from all IPs
- Rule 400 ALLOW from IP X
What will happen when I try to access the subnet from IP X?
Deny
When NACL numbered rules are evaluated, precedence is given from the lowest number to the highest number
Suppose the custom NACL associated with my subnet has inbound rules:
- Rule 100 ALLOW from all IPs
- Rule 400 DENY from IP X
What will happen when I try to access the subnet from my IP Y != X?
Traffic will be allowed in but NOT back out!
- NACLs have separate inbound and outbound rules, and each can either allow or deny
- NACLs are stateless, responses allowed to inbound traffic are subject to outbound traffic