VPC ACLS - ICMP Rules vs Documentation

0

https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html states:

If the maximum transmission unit (MTU) between hosts in your subnets is different, or your instances communicate with peers over the internet, you must add the following network ACL rule, both inbound and outbound. This ensures that Path MTU Discovery can function correctly and prevent packet loss. Select Custom ICMP Rule for the type and Destination Unreachable, fragmentation required, and DF flag set for the port range (type 3, code 4).

This doesn't fit with what the console offers. I can see only Destination Unreachable as an option and none of the others.

What's the correct setup? Am starting to think the VPC ACL stuff is just broken in terms of web console - encountering bugs in validation & it lacks expected features like copying an existing ACL to new?

已提问 2 年前777 查看次数
2 回答
2

It's not written clearly in the documentation. For "Type" select "Destination Unreachable", and for "Port range" select "fragmentation required, and DF flag set".

专家
已回答 2 年前
1
已接受的回答

When editing a Security Group you can select Custom ICMP in the Type column. That then allows you to select Destination Unreachable in the Protocol column. From there you can select Fragmentation needed in the Port range column.

The reason this is a little odd is because most other protocols use a port to determine the application that is being allowed. With ICMP it is a Type and a Sub-type so the ICMP sub-types (of which Fragmentation needed but DF bit set) is one.

profile pictureAWS
专家
已回答 2 年前

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

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

回答问题的准则