How to add range of ip's in outbound rules->Security Group

0

I want to add range of IPs in outbound rules in security group. How can I do that ?

질문됨 일 년 전345회 조회
2개 답변
1

I'm not 100% sure what is meant by "range of IPs".

You can use subnet masks to specify a network range. For example, you could specify 172.16.0.0 with a mask of 255.255.240.0 which covers 172.16.0.0 - 172.16.15.255`.

You can also create prefix lists which are groups of IP addresses that you can then assign to security groups.

profile pictureAWS
전문가
답변함 일 년 전
profile pictureAWS
전문가
kentrad
검토됨 일 년 전
0

To add to what my colleague said, here is some more info how Subnet CIDR blocks work

The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC), or a subset of the CIDR block for the VPC (to create multiple subnets in the VPC). The allowed block size is between a /28 netmask and /16 netmask. If you create more than one subnet in a VPC, the CIDR blocks of the subnets cannot overlap.

For example, if you create a VPC with CIDR block 10.0.0.0/24, it supports 256 IP addresses. You can break this CIDR block into two subnets, each supporting 128 IP addresses. One subnet uses CIDR block 10.0.0.0/25 (for addresses 10.0.0.0 - 10.0.0.127) and the other uses CIDR block 10.0.0.128/25 (for addresses 10.0.0.128 - 10.0.0.255).

profile pictureAWS
Niko
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인