官术网_书友最值得收藏!

NACLs

The second layer of defense is our NACLs. NACLs allow or deny traffic that's coming in or out of the subnet, and are defined as stateless rules that work in exactly one direction. An ACL can be used to define strict rules on network access and provide protection at the network level. The NACLs reside at the entry point to the subnet, and each subnet has a default NACL that is modifiable and can be used to control the traffic when it goes in and out. We can also create additional NACLs, but a subnet in a VPC can only be assigned to one NACL at a time.

NACLs protect subnets within our VPCs in a very similar way to how security groups protect instances. Unlike security groups, NACLs allow all traffic between subnets and gateways by default, so that the security approach that needs to be implemented with NACLs is closing the ports instead of opening them. Also, ACLs can be used when a certain set of IP addresses need to be prevented from accessing our networks; for example, if we need to block certain geographies or a certain set of IPs that have been determined to be malicious.

The following diagram shows how security groups and network ACLs apply within a VPC:

主站蜘蛛池模板: 北流市| 山西省| 成安县| 忻州市| 亳州市| 罗定市| 广宗县| 绥滨县| 东山县| 蓬莱市| 金川县| 门源| 海盐县| 确山县| 洛宁县| 富顺县| 读书| 石景山区| 晋城| 青浦区| 汤原县| 齐齐哈尔市| 宁都县| 依安县| 临西县| 稻城县| 天台县| 南江县| 乌拉特中旗| 洞口县| 景洪市| 阳谷县| 南和县| 崇阳县| 北川| 洪湖市| 祥云县| 朔州市| 宁化县| 丹凤县| 乌审旗|