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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南