Network Access Control List (NACL) Flashcards
What are NACLs?
They are a type of security filters (like firewalls) that can filter traffic as it enters or leaves a subnet.
What traffic can a NACL control/filter?
Traffic that enters/leaves a subnet
To what network conponent are attached?
To subnets
Can NACLs be associated with resources?
No, they are associated with subnets
Do VPCs have default NACLs associated with them?
Yes, they are associated with all subnets of that VPC by default.
What do NACLs do when 2 EC2 instances in a subnet want to communicate?
Nothing, because they interact only with data leaving and entering subnets.
What types of sets of rules do NACLs have?
INBOUND rules and OUTBOUND rules
How do NACLs manage multiple rules? Is there any prioritization?
Yes, there is a priority rule.
The lower the rule number, the higher the priority.
What happens when a set of rules is matched by the NACL? Can NACLs consider multiple rules?
No, once a rule is matched, the NACL stops processing for that piece of traffic.
What types of actions can you specify in NACL rules?
(Explicitly) ALLOW or DENY
What fields can you find in NACL rules?
- Type
- Protocol: tcp, udp, icmp
- Port range
- For inbound rules: source
- For outbound rules: destination
What protocols are supported in NACLs?
tcp, udp or icmp
Define protocol and port range for SSH traffic
tcp port 22
Define protocol and port range for http traffic
tcp port 80
Define protocol and port range for https traffic
tcp port 443