James
James

Reputation: 25523

Are AWS Security Group Port Ranges Inclusive or Exclusive

AWS security groups allow a port range to be specified for permitted traffic, written in the form 1234-5678: would that be inclusive of ports 1234 and 5678, or exclusive of either/both of those ports?

The documentation doesn't seem to describe this.

Upvotes: 3

Views: 4763

Answers (1)

Justinas
Justinas

Reputation: 43481

Since example shows 0 - 65535 and 2^16 is 65536 (otherwise it would be -1 - 65536), than it means inclusively.

Upvotes: 5

Related Questions