How can I add a non-CIDR range of IPs to an Azure NSG?

I need to add a group of IP addresses – call it 61.10.109.54 through 61.10.109.76 inclusive – to an Azure NSG. We have port 3389 open to the public for the VMs behind an NSG, so it needs to be locked down to allow that range (our office) to RDP to it. If I just change the dropdown to IP Address and enter 61.10.109.54-61.10.109.76, the Azure portal errors out that the address is malformed.

I don’t need to whitelist the entire CIDR range, just those 22 addresses.

I saw a few mentions for doing ports through the Azure CLI/Powershell, but I figured it was worth asking in case I missed something.

submitted by /u/MohnJaddenPowers
[link] [comments]

Leave a Reply