Network Firewall, stateful rules engine allows traffic to pass by default, while the security groups default is to deny traffic

0

How does the default 'pass' behavior with AWS Network Firewall interact with the default 'deny' for AWS Security Groups? Such as it sounds like the Network Firewall and the Security Group operates on different levels, the traffic first hitting the Network Firewall, being allowed, and then hitting the Security Group. The traffic would still independently need to be vetted by the Network Firewall stateful rules and also on the allow list for the Security Group before it could get through, correct?

3 回答
1

Your understanding is correct but order is wrong. First Traffic will hit Security Group. Once permitted in Security group. It will take action as per Network Firewall rules.

已回答 3 个月前
0

Yes, you're correct. Traffic first passes through the AWS Network Firewall, which by default allows traffic unless explicitly denied by its stateful rules. Then, it encounters the AWS Security Groups, which by default deny all inbound traffic unless explicitly allowed. For traffic to successfully reach its destination, it must be permitted by both the Network Firewall and the Security Group rules. This layered security ensures that traffic is vetted both at the network level by the Network Firewall and at the instance level by the Security Groups before being allowed through.

If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!

profile picture
专家
已回答 3 个月前
0

Network firewall, Security groups, NACLs operate at different layers and take decision independently to each other. For defense in depth you can make use of all these to safeguard your environment. The below blog has diagrams that shows how traffic flows via AWS Network Firewall.

https://aws.amazon.com/blogs/security/tls-inspection-configuration-for-encrypted-traffic-and-aws-network-firewall/

profile pictureAWS
专家
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则