0

To setup SSH, Amazon asks us to

Enter your network's public IP address range

What is my public IP address range, and where can I find it?

Is this a range that is provided by my ISP?

Are there other computers in this range?

Is this a security measure that restricts attempts to connect from IPs outside to this range, but permits those inside?

I read this question which is very similar, but got accepted too soon with little insight regarding the question.

Finding my network's public IP address range

1

1 Answer 1

3

Your public IP address rage it is normally just a single IP address if you are a home user or a small company who is assigned only one address from the ISP.

To determine this address just go to https://ipv4.wtfismyip.com/text and in Amazon you would have to add a /32 netmask to specify that it's only this address.

The same thing can be easily accomplished by selecting "My IP" in the source tab for that security group. enter image description here

In this case, nobody else can reach your servers on the SSH port.

If your IP address changes then the best bet is to go to the security group config everything it changes.

Companies are able to reserve more addresses from the ISP in order to use them for various things. For example, if they reserve 255 addresses then the range would be that address followed by a /24. That would allow every IP address reserved by those companies to go on the servers. Normally, that is not necessary even for companies who have more than one IP address.

4
  • Thanks @Bogdan! Side note, what is the /32 ? I also don't see the My IP in the Source tab Commented Mar 25, 2016 at 17:05
  • I edited the answer to clarify these things for you. There is a link for /32 now and a screenshot for My IP. If all is good with you I would appreciate if you accept the answer.
    – Bogdan
    Commented Mar 25, 2016 at 17:57
  • I don't see that dropdown.. I see this imgur.com/OKYiZP3 @Bogdan Commented Mar 25, 2016 at 21:39
  • Not that it's a problem, just curious why we dont have same UI. Maybe region ? Commented Mar 25, 2016 at 21:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .